Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: LWP::Simple::get($url) does not work for particular urls (SSL certificate verification)

by noxxi (Pilgrim)
on Dec 31, 2017 at 20:51 UTC ( [id://1206497]=note: print w/replies, xml ) Need Help??


in reply to Re^3: LWP::Simple::get($url) does not work for particular urls (SSL certificate verification)
in thread LWP::Simple::get($url) does not work for particular urls

> ... this is because your desktop browser uses the Certificate Authority root certificates that are distributed with your operating system, whereas LWP::UserAgent does not know about them.

The problem is not that the root CA is not trusted by LWP but that the intermediate CA is missing (broken server setup) and thus the trust chain cannot be created. Desktop browsers often successfully work around such broken setups by using cached certificates or downloading missing CA from the web but other clients (Python, Perl, Java, mobile apps...) don't do this workarounds and thus fail with broken sites.

  • Comment on Re^4: LWP::Simple::get($url) does not work for particular urls (SSL certificate verification)

Replies are listed 'Best First'.
Re^5: LWP::Simple::get($url) does not work for particular urls (SSL certificate verification)
by 1nickt (Canon) on Dec 31, 2017 at 22:16 UTC

    Thanks for the more accurate information, I defer to an expert, which I am not!


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-20 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found