Created
November 18, 2011 01:35
-
-
Save kost/1375269 to your computer and use it in GitHub Desktop.
www::mechanize no cert ssl tls checking or verification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PERL_LWP_SSL_VERIFY_HOSTNAME=0 | |
use WWW::Mechanize; | |
my $mech = WWW::Mechanize->new( | |
ssl_opts => { | |
verify_hostname => 0, | |
}, | |
); | |
http://www.perlmonks.org/?node_id=922226 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment