-
Notifications
You must be signed in to change notification settings - Fork 40.6k
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 formatted elliptic-curve TLS keys are an unrecognized private key format #32646
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Oct 9, 2022
philwebb
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Oct 11, 2022
philwebb
changed the title
Elliptic-curve TLS keys in PEM format are not supported
Unrecognized private key format thrown when using PEM formatted elliptic-curve TLS keys
Oct 12, 2022
philwebb
changed the title
Unrecognized private key format thrown when using PEM formatted elliptic-curve TLS keys
PEM formatted elliptic-curve TLS keys are an unrecognized private key format
Oct 12, 2022
Certificate and private key files can also be used to configure the connection to the Docker daemon when using the Maven |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Spring Boot 2.7.3 and would like to use the following, recently introduced, properties for specifying TLS keys in PEM format:
This works for RSA keys but not for ECDSA keys. The issue can be reproduced with the following
tls.crt
andtls.key
files:I'm getting the following exception:
The problem seems to lie in the patterns used by the PrivateKeyParser which supports "RSA" in the header/footer but not "EC".
The text was updated successfully, but these errors were encountered: