Somehow all the other posts don’t specifically solve my issue so…
Hi all,
I have two backend servers that are running on Port 443 SSL via IIS using the CCS (Centralized Certification Server) module.
Access to those two backend servers works fine:
However the health check on HaProxy fails with a Layer 6 issue. [WARNING] (5477) : Server cso-cs-frontends/otcs01 is DOWN, reason: Layer6 invalid response, info: "SSL handshake failure", check duration: 1ms. 1 active and 0 backup servers left.
I already tried to use a verifyhost however it did not solve the issue. Ideas? The certificate is a wildcard one from sectigo since dev machines.
There are plenty of reasons a SSL handshake can fail.
There can be a certificate validation error, mismatch in TLS versions/ciphers or other technical issues, or it can be based on missing SNI values etc.
Best pratices are:
use supported and uptodate OS and OS provided libraries (do not compile your own ssl lib)
do not manually configure SSL ciphers but leave it eather at defaults or at Mozilla suggested configs; also try older ciphers as suggested by mozilla if your backend server is old
make sure you send SNI accordingly for both health checks (check-sni) and pass through traffic (sni)
If this doesn’t help, analyzing the issue requires:
the full output of haproxy -vv
the full configuration
the full output of a successfull curl -vv https://... call to the backend server