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
Add support to obtain PEM-encoded certificates as X509Certificate
#678
Comments
It's odd in that the default of the returned data is PEM.
https://www.vaultproject.io/api-docs/secret/pki#generate-certificate |
As per the documentation: spring-vault/spring-vault-core/src/main/java/org/springframework/vault/support/Certificate.java Lines 32 to 33 in 2e02491
Feel free to submit a pull request to introduce PEM to |
X509Certificate
Same issue affects
|
Just for clarification: For spring-vault/spring-vault-core/src/main/java/org/springframework/vault/core/VaultPkiTemplate.java Line 91 in 26a77a2
I will fix this issue within the next days. |
Of course we cannot change the behavior of vault-spring but we have to support other formats and improve documentation. |
Certificate.getX509Certificate()
andCertificate.getX509IssuerCertificate()
do not support conversion of PEM-encoded string to X509Certificate.The text was updated successfully, but these errors were encountered: