Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: LWP_SSL_Verify_mode option

by daxim (Curate)
on Oct 30, 2013 at 12:22 UTC ( [id://1060356]=note: print w/replies, xml ) Need Help??


in reply to LWP_SSL_Verify_mode option

Adapted from my answer at How to ignore 'Certificate Verify Failed' error in perl?:
use IO::Socket::SSL qw(); use LWP::UserAgent qw(); my $ua = LWP::UserAgent->new(ssl_opts => { SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, verify_hostname => 0, # this key is likely going to be removed in +future LWP >6.04 });
Then set the ua attribute on the Frontier::Client instance.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-18 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found