Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: LWP_SSL_Verify_mode option

by daxim (Chaplain)
on Oct 30, 2013 at 12:22 UTC ( #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.

Comment on Re: LWP_SSL_Verify_mode option
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-11-26 03:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls