<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>09. 07. 2023. u 20:43, gregor herrmann piše:<br>
    </p>
    <blockquote type="cite"
      cite="mid:ZKr%2FvPj9FVYNUxeV@jadzia.comodo.priv.at">
      <pre class="moz-quote-pre" wrap="">On Sat, 02 Jan 2021 10:24:52 +0100, Slaven Rezic wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">The problem still exists in debian/testing (libwww-perl 6.50 +
liblwp-protocol-https-perl 6.09-1 installed here):

perl -MLWP::UserAgent -e '$ua=LWP::UserAgent->new; $ua->ssl_opts(verify_hostname=>0); $res = $ua->get(<a class="moz-txt-link-rfc2396E" href="https://quartier-heidestrasse.contempo-webcam.de/">"https://quartier-heidestrasse.contempo-webcam.de/"</a>); warn $res->as_string'
500 Can't connect to quartier-heidestrasse.contempo-webcam.de:443 (certificate verify failed)
Content-Type: text/plain
Client-Date: Sat, 02 Jan 2021 09:23:22 GMT
Client-Warning: Internal response

Can't connect to quartier-heidestrasse.contempo-webcam.de:443 (certificate verify failed)

SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at /usr/share/perl5/LWP/Protocol/http.pm line 50.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I just tried your example and I don't get any errors.

This is in today's unstable with libwww-perl/6.71-2 and
liblwp-protocol-https-perl 6.10-1.

Could you please try as well?

(Please note that I'm about to upload
liblwp-protocol-https-perl/6.11-1 to unstable).
</pre>
    </blockquote>
    <p>Confirmed. The former examples cannot be used anymore to prove
      the problem, as the used websites fixed their certificates in the
      meantime. But you can use something like
      <a class="moz-txt-link-rfc2396E" href="https://bla.bla.bing.com">"https://bla.bla.bing.com"</a> which now works if
      verify_hostname=>0 is set. Tried on debian:stretch and
      debian:bookworm.</p>
    <p>Regards, Slaven</p>
    <p><br>
    </p>
  </body>
</html>