- support of runtime certificate updates. It's now possible to change
existing certs without reloading. Creation is yet another challenge
and I understood that there are also some limitations to certain
situations where updates are still not possible (though an error
message will indicate it).
I did search in the configuration manual but found nothing on how to configure/enable to use this feature.
Can I be advised on how to enable/configure my haproxy to try out this feature?
Since my configuration in example loads 2 certificates from /my_cert/cert.pem and /your_cert/cert.pem, does above file name only command cause confusion to haproxy?
I did an experiment and looks like in my example I should explicitly specify the full path of my certificate file in set ssl cert command. So the behavior of set ssl cert is: it is only valid to update the cert file name that configuration refers.
If I only use the file name instead of the full path name of the certificate file I used in my configuration, set ssl cert command complains:
$ echo -e "set ssl cert cert.pem <<\n$(cat bad.pem)\n" | socat /root/spoe/admin-1.sock -
Can't replace a certificate which is not referenced by the configuration!
Can't update cert.pem!
So maybe it is a little confusing what the filename from the doc means