[erlang-questions] Re: https request with checking peer

Max Lapshin <>
Thu Aug 12 08:31:00 CEST 2010


But if I do so:

ssl:start().
inets:start().
httpc:request(get, {"https://zzz.com", []}, [{ssl,[{verify,1}]}], []).

I get response, while I want to get error: "untrusted certificate"

Is there any simple way automatically check peer certificate against
some root cert?


More information about the erlang-questions mailing list