[erlang-questions] Erlang TLS distribution... again...

Magnus Henoch <>
Fri Jan 22 18:28:42 CET 2016


If I read the source code correctly, this error occurs when the server
expects the client to present a certificate, but the client doesn't present
one. What options do you use when starting the client?

Regards,
Magnus


On Fri, Jan 22, 2016 at 4:43 PM, Mark Steele <>
wrote:

> Hello list,
>
> Once again I'm banging my head against TLS distribution in Erlang.
>
> This time around, everything is almost working.
>
> My problem is now getting the certificate validation to work.
>
> As soon as I add ' server_verify verify_peer ' to my ssl options on the
> server-side, the connection is failing.
>
> Server:
>
> SSL: certify: ssl_connection.erl:398:Fatal error: handshake failure
>
> Client:
>
> SSL: cipher: ssl_alert.erl:92:Fatal error: handshake failure
>
>
> The client and server certs are the same.
>
> 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.
>
> Running on Erlang/OTP 17 [erts-6.4]
>
> Any help would be appreciated.
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160122/b8a9e2ed/attachment.html>


More information about the erlang-questions mailing list