[erlang-questions] bad certificate if trying to verify StartSsl certificate
Alex Hudich
alttagil@REDACTED
Thu Jul 16 11:16:52 CEST 2015
Hi!
wget http://curl.haxx.se/ca/cacert.pem
and then
ssl:connect( "www.nicemine.ru", 443, [{verify,verify_peer},{server_name_indication,"www.nicemine.ru"},{depth,2},{cacertfile,"cacert.pem"}] ).
gives me {error,{tls_alert,"bad certificate"}}
Why? Site can be opened ok in the browser.
Erlang/OTP 17 [erts-6.3]
More information about the erlang-questions
mailing list