I’m interested in logging failed SSL handshakes, and require knowing which server name was sent in the SNI request (we occasionally get requests for domains which still don’t have a certificate and would like to generate one for them).
I’ve tried using ssl_fc_err_str and ssl_fc_sni, but couldn’t log the server name. ssl_fc_sni is empty (-). Can someone help?
I am running with strict-sni, the handshake fails because the certificate is missing for the specified domain. I serve a great deal of certificates and in some cases they are missing and I need to generate them.
As you can see we are using haproxy 2.5. however I couldn’t find any way to log the server name requested in the SNI in the error log. I assumed it would be ssl_fc_sni but it is blank. I might be missing something there.