Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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 ( #1170863=note: print w/replies, xml ) Need Help??


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

I verified it with curl -s $URL, and it worked. Same with wget --no-check-certificate $URL.

  • Comment on Re^2: How to get a better error message from LWP::UserAgent on missing SSL certificates?
  • Select or Download Code

Replies are listed 'Best First'.
Re^3: How to get a better error message from LWP::UserAgent on missing SSL certificates?
by Krambambuli (Curate) on Aug 31, 2016 at 13:03 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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2019-12-05 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (151 votes). Check out past polls.

    Notices?