in reply to LWP::UserAgent certificate verify failed

If you're using Mozilla::CA, that contains the certificate chains, and some of the SSL certificates were revoked recently.

If you didn't update Mozilla::CA, maybe the server you're connecting to changed their certificate or that certificate expired.

  • Comment on Re: LWP::UserAgent certificate verify failed

Replies are listed 'Best First'.
Re^2: LWP::UserAgent certificate verify failed
by cormanaz (Deacon) on Feb 03, 2017 at 16:20 UTC
    I had an older Mozilla::CA installed, so I updated it and and that didn't change things. Still the question of how to point to the folder that holds the certificates. I have checked with the company about their certificates, but I can still access the service through their web page, which I assume (but don't know) uses the same certificates.
    "I think computers have complicated lives very bigly. The whole age of, you know, computer has made it where nobody knows exactly what's going on." --D. Trump
      How do I find that path on Windows?
      #!perl use File::Find; find(\&wanted,@INC); sub wanted { print "$File::Find::dir/$_\n" if ($_ =~ /\.pem$/); }
      poj

      I think you can make LWP::UserAgent tell you in more detail about where things went wrong.

      You could run analyze-ssl.pl to find out where the connection fails, or you could look at the response body of the 500 error to see what the X-whatever headers say about the error reason. You could also look at IO::Socket::SSL and turn up the debugging options there to see where things break down.