http://qs321.pair.com?node_id=1045484


in reply to WWW::Mechanize and https/port 443

LWP::UserAgent defaulted to verifying SSL connections with 6.00, so if you can connect to one site and not another, it's likely a certificate issue.

If you're sure that the site can be trusted despite a bad certificate (or you just don't care), you can override this behaviour in ssl_opts.

my $mech = WWW::Mechanize->new( ssl_opts => { verify_hostname => 0 }, );

Replies are listed 'Best First'.
Re^2: WWW::Mechanize and https/port 443
by daxim (Curate) on Jul 21, 2013 at 13:38 UTC