Skip to content

Instantly share code, notes, and snippets.

@kost
Created November 18, 2011 01:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kost/1375269 to your computer and use it in GitHub Desktop.
Save kost/1375269 to your computer and use it in GitHub Desktop.
www::mechanize no cert ssl tls checking or verification
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