[erlang-bugs] ssl handshake failure on R14A (and git)

Lichtinger, Bernhard <>
Mon Aug 30 15:51:42 CEST 2010


> The debugger helped in my case: We have certificates with depth 4, so adding the ssl_option {depth,4} resolved the problem. 
> e.g. ssl:connect("my-jabber-server",5223,[{depth,4}]).
I did some more debugging:

SSL handshakes also fail with {bad_cert,invalid_subject_altname} if the server's certificate has an Subject Alternative Name of the type othername. E.g. hermes.jabber.org has such Subject Alternative Names.

-- 
Bernhard


More information about the erlang-bugs mailing list