Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: LWP::UserAgent certificate verify failed

by cormanaz (Deacon)
on Feb 03, 2017 at 16:20 UTC ( [id://1180983]=note: print w/replies, xml ) Need Help??


in reply to Re: LWP::UserAgent certificate verify failed
in thread LWP::UserAgent certificate verify failed

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
  • Comment on Re^2: LWP::UserAgent certificate verify failed

Replies are listed 'Best First'.
Re^3: LWP::UserAgent certificate verify failed
by poj (Abbot) on Feb 03, 2017 at 17:02 UTC
    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
Re^3: LWP::UserAgent certificate verify failed
by Corion (Patriarch) on Feb 03, 2017 at 16:31 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found