Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-07-04 04:11 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 (57 votes), past polls