<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Eckard,</div><div dir="ltr"><br></div><div dir="ltr">This document gives an explanation and examples for the ssl module. In your case you need one or more trusted Certificate Authorities to validate the chain of the server’s certificate.</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://github.com/erlef/security-wg/blob/master/docs/secure_coding_and_deployment_hardening/ssl.md">https://github.com/erlef/security-wg/blob/master/docs/secure_coding_and_deployment_hardening/ssl.md</a></div><div dir="ltr"><br></div><div dir="ltr">- Drew</div><div dir="ltr"><br><blockquote type="cite">On Sep 2, 2021, at 8:08 AM, Eckard Brauer <eckard.brauer@gmx.de> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>Hello,</span><br><span></span><br><span>I'm bit stuck with trying to avoid an ssl warning when retrieving a</span><br><span>HTTPS page like that:</span><br><span></span><br><span>ssl:start(),</span><br><span>inets:start(),</span><br><span>Url = "https://www.heise.de/newsticker",</span><br><span>{ok, {{_, 200,__}, _, Contents}} =</span><br><span> httpc:request(get,</span><br><span> {Url, []},</span><br><span> [{ssl, [{verify, verify_none}]}],</span><br><span> []).</span><br><span></span><br><span>getting that:</span><br><span>=WARNING REPORT==== 2-Sep-2021::13:46:08.010679 ===</span><br><span>Description: "Authenticity is not established by certificate path validation"</span><br><span> Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"</span><br><span>...</span><br><span></span><br><span></span><br><span>What's the reason the warning won't go away with the ssl verify option -</span><br><span>where's my fault?</span><br><span></span><br><span>Thanks in advance</span><br><span>Eckard</span><br></div></blockquote></body></html>