You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found/reproduced the issue. A fix will be coming in 0.29.2.
The issue was a classic cut-n-paste error. I based the PKI code on the existing vault secret code and missed the fact that the ID of the pkiCert will be identical for all certs pulled form the same PKI role path. I'm going to adjust the ID to be composed of the pki role path + the destination path. That should be unique per use case as the destination path must be unique per Cert.
Consul Template version
vault-1.11.1 -> consul template v0.29.1 according to hashicorp/vault@2aabd4a
Configuration
I use the following vault configuration:
Debug output
Provide a link to a GitHub Gist containing the complete debug
output by running with
-log-level=trace
.^ Not done at this time, if you need more debugging information let me know. At the time I believe you should be able to reproduce this.
Expected behavior
/tmp/detsys-vault/https-Cert is valid for for
consul-00.<censored>
Actual behavior
/tmp/detsys-vault/https-Cert is valid for for
server.dc1.consul
. The certificate is exactly the same as/tmp/detsys-vault/Cert
Steps to reproduce
My current workaround is to use the
secret
function to request the second certificate in which case I get a correct certificate.The text was updated successfully, but these errors were encountered: