spring-projects / spring-projects/spring-boot

Support SSL Bundle alias' for client connections (JKS)

Open
#50,398 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
81.5k
Forks
42.7k
Avg merge
2d 4h
Merged PRs (30d)
65

Description

Currently, when working with a JKS type SSL Bundle and specifying a KeyStore that contains multiple certificates, alias based choosing does not work for client certificates.

I had attempted to address this with #49838, however, we came across the realization that this change requires more planning and isn't as simple as it was expected to be.

This repository contains an example of the wrong behavior: https://github.com/MezinK/spring-boot-mtls-demo

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the attempted approach in issue #49838 and reproduce the behavior using the linked MezinK/spring-boot-mtls-demo example. Trace how a JKS SSL Bundle selects a client certificate when its KeyStore contains multiple certificates; done means alias-based selection works correctly for client connections and is covered by verification for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.