amitsq has asked for the wisdom of the Perl Monks concerning the following question:
Now with the portable version of Strawberry Perl 64 bit, I received the error msg when opening the webpage:
Can't load 'D:/Strawberry_Perl/perl/vendor/lib/auto/Net/SSLeay/SSLeay. +xs.dll' for module Net::SSLeay: load_file:called modul not found at D +:/Strawberry_Perl/perl/lib/DynaLoader.pm line 193. at D:/Strawberry_P +erl/perl/vendor/lib/IO/Socket/SSL.pm line 19. Compilation failed in r +equire at D:/Strawberry_Perl/perl/vendor/lib/IO/Socket/SSL.pm line 19 +. BEGIN failed--compilation aborted at D:/Strawberry_Perl/perl/vendor +/lib/IO/Socket/SSL.pm line 19. Compilation failed in require at D:/St +rawberry_Perl/perl/vendor/lib/Net/HTTPS.pm line 25. Can't load 'D:/St +rawberry_Perl/perl/vendor/lib/auto/Crypt/SSLeay/SSLeay.xs.dll' for mo +dule Crypt::SSLeay: load_file:called modul not found at D:/Strawberry +_Perl/perl/lib/DynaLoader.pm line 193. at D:/Strawberry_Perl/perl/ven +dor/lib/Net/SSL.pm line 20. Compilation failed in require at D:/Straw +berry_Perl/perl/vendor/lib/Net/SSL.pm line 20. Compilation failed in +require at D:/Strawberry_Perl/perl/vendor/lib/Net/HTTPS.pm line 29. C +ompilation failed in require at D:/Strawberry_Perl/perl/vendor/lib/LW +P/Protocol/https.pm line 8. Compilation failed in require at D:/Straw +berry_Perl/perl/vendor/lib/LWP/Protocol.pm line 68. .
I read that some people assumed a compartiblity problem, so I installed the PDL edition of Strawberry Perl likewise and the receiving error msg on the webpage is now:
Can't locate object method "new" via package "LWP::Protocol::https::Socket" at D:/PerlPDL/perl/vendor/lib/LWP/Protocol/http.pm line 31.of course i installed the modul via "cpan LWP::Protocol::https and cpan LWP::Protocol::https::Socket and LWP::Protocol"
!d:\Strawberry_Perl\perl\bin\perl.exe use strict; use warnings; use LWP::Protocol; use LWP::UserAgent; use Mozilla::CA; use CGI qw(:standard); my $q= new CGI; print $q->header; my $B = new LWP::UserAgent (keep_alive => 1, agent => 'Mozilla/5.0', c +ookie_jar =>{}); print qq(@INC); my $proxy = 'http://vproxy.ab.de:80'; my $Skript = "http:\/\/$ENV{SERVER_NAME}$ENV{SCRIPT_NAME}"; $B->proxy( ['http', 'https'] => $proxy ); $ENV{HTTPS_PROXY} = $proxy; $ENV{'PERL_LWP_SSL_CA_PATH'} = "D:\\CA_certs\\input\\certs"; $B->ssl_opts( SSL_ca_file => Mozilla::CA::SSL_ca_file() ); $B->ssl_opts( verify_hostname => 0 ); my $GET = $B->get('https://moz.com ')->content; print $GET, "<br>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Download of https Pages
by roboticus (Chancellor) on Oct 26, 2017 at 13:53 UTC | |
by amitsq (Beadle) on Oct 26, 2017 at 14:22 UTC | |
by marto (Cardinal) on Oct 26, 2017 at 14:27 UTC | |
by amitsq (Beadle) on Oct 26, 2017 at 14:32 UTC | |
by marto (Cardinal) on Oct 26, 2017 at 14:39 UTC | |
|
Re: Download of https Pages
by haj (Vicar) on Oct 26, 2017 at 19:55 UTC | |
|
Re: Download of https Pages
by Anonymous Monk on Oct 26, 2017 at 14:03 UTC | |
by marto (Cardinal) on Oct 26, 2017 at 14:23 UTC | |
by amitsq (Beadle) on Oct 26, 2017 at 14:26 UTC | |
by marto (Cardinal) on Oct 26, 2017 at 14:29 UTC | |
by amitsq (Beadle) on Oct 26, 2017 at 14:40 UTC | |
by marto (Cardinal) on Oct 26, 2017 at 14:44 UTC | |
by poj (Abbot) on Oct 27, 2017 at 07:02 UTC | |
by Anonymous Monk on Nov 01, 2018 at 19:00 UTC |