What actually happens during a TLS handshake and why does it sometimes fail even with a valid certificate?

· Dev.to