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?