http://qs321.pair.com?node_id=1170859


in reply to How to get a better error message from LWP::UserAgent on missing SSL certificates?

Just to make sure: was your https server working properly otherwise, could you connect with a browser against the same URL?

  • Comment on Re: How to get a better error message from LWP::UserAgent on missing SSL certificates?

Replies are listed 'Best First'.
Re^2: How to get a better error message from LWP::UserAgent on missing SSL certificates?
by moritz (Cardinal) on Aug 31, 2016 at 11:35 UTC
      I've tried to reproduce the problem, but it just works here.
      If I hide the CA certificate, I get an error with verify_hostname set, I don't if it is unset or set to 0.
      (Perl 5.22.2, LWP::UserAgent 6.15, LWP::Protocol::https 6.06 on Fedora 24.)
        I forgot; on error, the message seen here is

        500 SSL_ca_file /etc/pki/tls/certs/ca-bundle.crt does not exist at ./foo.pl line 15.

        Seems quite right.