<div dir="ltr">Hello list, <div><br></div><div>Once again I'm banging my head against TLS distribution in Erlang.</div><div><br></div><div>This time around, everything is almost working.</div><div><br></div><div>My problem is now getting the certificate validation to work.</div><div><br></div><div>As soon as I add ' server_verify verify_peer ' to my ssl options on the server-side, the connection is failing.</div><div><br></div><div><div>Server:</div><div><br></div><div>SSL: certify: ssl_connection.erl:398:Fatal error: handshake failure</div></div><div><br></div><div>Client:</div><div><br></div><div><div>SSL: cipher: ssl_alert.erl:92:Fatal error: handshake failure</div></div><div><br></div><div><br></div><div>The client and server certs are the same.</div><div><br></div><div>I can use the same certs with Cowboy/Ranch or plain ssl sockets (with the verify_peer option) and it works flawlessly, so it would appear that it's something specific to TLS distribution that's wonky.</div><div><br></div><div>Running on Erlang/OTP 17 [erts-6.4]<br></div><div><br></div><div>Any help would be appreciated.</div><div><br></div></div>