Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEM SSL bundles do not support encrypted PKCS8 private keys #35652

Closed
ydautremay opened this issue May 26, 2023 · 1 comment
Closed

PEM SSL bundles do not support encrypted PKCS8 private keys #35652

ydautremay opened this issue May 26, 2023 · 1 comment
Assignees
Labels
type: bug A general bug
Milestone

Comments

@ydautremay
Copy link

ydautremay commented May 26, 2023

Happens with the new SSL bundles in Spring boot 3.1

The PKCS8 allows for encrypted private key with a password. Unfortunately, when declaring a pem bundle, it is impossible to specify a password. If I declare my encrypted private key, it is not recognized by any of the pem parsers as the header has BEGIN ENCRYPTED PRIVATE KEY.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 26, 2023
@scottfrederick scottfrederick added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels May 26, 2023
@scottfrederick scottfrederick modified the milestones: 3.x, 3.1.x May 26, 2023
@philwebb philwebb added type: bug A general bug and removed type: enhancement A general enhancement labels May 26, 2023
@scottfrederick scottfrederick modified the milestones: 3.1.x, 3.x May 26, 2023
@scottfrederick scottfrederick self-assigned this Jun 2, 2023
@scottfrederick scottfrederick changed the title PemSslStoreBundle does not support Encrypted Private Key Pem Ssl bundles do not support encrypted PKCS8 private keys Jun 9, 2023
@scottfrederick scottfrederick changed the title Pem Ssl bundles do not support encrypted PKCS8 private keys PEM Ssl bundles do not support encrypted PKCS8 private keys Jun 9, 2023
@scottfrederick scottfrederick modified the milestones: 3.1.x, 3.1.1 Jun 9, 2023
@ydautremay
Copy link
Author

Thanks for the fix, looking forward to using it !

@wilkinsona wilkinsona changed the title PEM Ssl bundles do not support encrypted PKCS8 private keys PEM SSL bundles do not support encrypted PKCS8 private keys Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

4 participants