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
BUG/MEDIUM: runtime: get the real storage name of certificates
When calling the runtime command "show ssl cert", the returned field
"Filename" is not always the filename of the certificate. If you pass
in an alias, "Filename" will be the alias, not the corresponding filename.
So how can we obtain the true storage name of a certificate? Recent
versions of HAProxy now return 2 new fields for that: "Crt filename" and
"Key filename". This patch uses the "Crt filename" as the storage name
when it is provided, and falls back to "Filename".
Note that storing the private key in a separate file is not supported by
client-native and the other projects depending on it. The function
`ShowCertificate` will return an error if "Crt filename" and "Key
filename" are different.
0 commit comments