Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: WWW::Mechanize and https/port 443

by Kanji (Parson)
on Jul 21, 2013 at 04:04 UTC ( #1045484=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-03-07 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (120 votes). Check out past polls.

    Notices?