Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: WWW::Mechanize and https/port 443

by Kanji (Parson)
on Jul 21, 2013 at 04:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1045484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found