spring-projects / spring-projects/spring-boot
Support SSL Bundle alias' for client connections (JKS)
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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