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 having an uproarious good time at the Monastery: (19)
As of 2015-07-02 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls