trahulprajapati has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to load a page which is using HTTPS protocol and it is giving me an error
SSL upgrade failed: SSL connect attempt failed because of handshake problemsI have installed LWP::PROTOCOL::https. This is my code
use strict; use warnings; use WWW::Scripter; use Net::SSL; my $w= WWW::Scripter->new( cookie_jar => { autosave => 1} ); $w->use_plugin('JavaScript'); # packaged separately $ENV{HTTPS_VERSION} = '3'; $w->get('https://abc.xyz.com'); my $home_title=$w->title(); print $home_title;
Please suggest
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSL Upgrade failed
by Corion (Patriarch) on Jul 25, 2017 at 13:07 UTC | |
by trahulprajapati (Novice) on Jul 25, 2017 at 17:56 UTC | |
by noxxi (Pilgrim) on Jul 25, 2017 at 19:37 UTC | |
|
Re: SSL Upgrade failed
by thanos1983 (Parson) on Jul 25, 2017 at 13:18 UTC | |
by trahulprajapati (Novice) on Jul 25, 2017 at 14:54 UTC |