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

Re: Mechanize and Bypassing SSL Certificate Check

by derby (Abbot)
on Aug 25, 2011 at 00:06 UTC ( #922234=note: print w/ replies, xml ) Need Help??


in reply to Mechanize and Bypassing SSL Certificate Check

I don't think LWP::UserAgent exposes that option; however, you can set the PERL_LWP_SSL_VERIFY_HOSTNAME environment var to 0 to bypass the cert check.

$ export PERL_LWP_SSL_VERIFY_HOSTNAME=0 $ ./my_mech_script

-derby


Comment on Re: Mechanize and Bypassing SSL Certificate Check
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (19)
As of 2014-07-24 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls