<div dir="ltr">I am getting connection failures to SSL servers with self-signed certificates<div><br></div><div>but behavior is a bit different</div><div><br></div><div>I tried out the following test from earlier reports:</div>
<div><br></div><div>------------------</div>$ env -i PERL_LWP_SSL_VERIFY_HOSTNAME=0 PERL_LWP_SSL_CA_PATH=/ \ GET <a href="https://www.debian.org/">https://www.debian.org/</a><div><br></div><div>Can't connect to <a href="http://www.debian.org:443">www.debian.org:443</a></div>
<div><br></div><div>Network is unreachable at /usr/share/perl5/LWP/Protocol/<a href="http://http.pm">http.pm</a> line 41.</div><div>-------------------</div><div><br></div><div>With the above, I get same result as above. </div>
<div><br></div><div>But if I set PERL_LWP_SSL_CA_PATH=/etc/ssl/certs the page is retrieved successfully.</div><div><br></div><div>I am running libio-socket-ssl-perl 1.988-1</div><div><br></div><div>The same does not work for *different port numbers* e.g. 23456</div>
<div><br></div><div>That is instead of <a href="https://www.debian.org/">https://www.debian.org/</a>, I use <a href="https://127.0.0.1:23456/">https://127.0.0.1:23456/</a> it failes with just "Can't connect to ..." error, the second error "Network is unreachable ..." is not shown.</div>
<div><br></div><div>It only works for the default port 443.</div><div><br></div><div>Can someone shed more light on this?</div><div><br></div></div>