in reply to Re^8: Server Issues and https-Requests
in thread Server Issues and https-Requests

A web search for that error message would be a better approach than continuing a back and fourth like this.

Replies are listed 'Best First'.
Re^10: Server Issues and https-Requests
by amitsq (Beadle) on Oct 23, 2017 at 14:12 UTC
    yes i am searching .. as update when running the script via windows shell, it says:
    can't connect to moz.com:443, the given host is not known at D:/Straw +berry_Perl/perl/vendor/lib/LWP/Pr otocol/http.pm line 46.

      A search for that string (for me) produces a list of results, every one I clicked on links to the same general IIS debugging guide which includes error descriptions. Consider making life easier for yourself (any anyone answering your questions) by ensuring something runs from the command prompt first, before getting lost in the labyrinth of IIS/Microsoft configuration. Try setting a proxy for the https scheme, e.g.

      my $ua = LWP::UserAgent->new; my $proxy = 'http://proxy.example.com:8001'; $ua->proxy( ['http', 'https'] => $proxy );
        i really appreciate ur help. I am getting nuts with finding the problem. i added ur line, modified the proxy port and now it works on the terminal at the server . But on the website it prints for
        my $GET = $B->get('https://moz.com')->content; print $GET, "<br>"; $GET = $B->get('https://moz.com')->code;
        D:/Strawberry_Perl/perl/site/lib D:/Strawberry_Perl/perl/vendor/lib D: +/Strawberry_Perl/perl/libCan't load 'D:/Strawberry_Perl/perl/vendor/l +ib/auto/Net/SSLeay/SSLeay.xs.dll' for module Net::SSLeay: load_file:D +as angegebene Modul wurde nicht gefunden at D:/Strawberry_Perl/perl/l +ib/DynaLoader.pm line 193. at D:/Strawberry_Perl/perl/vendor/lib/IO/S +ocket/SSL.pm line 19. Compilation failed in require at D:/Strawberry_ +Perl/perl/vendor/lib/IO/Socket/SSL.pm line 19. BEGIN failed--compilat +ion aborted at D:/Strawberry_Perl/perl/vendor/lib/IO/Socket/SSL.pm li +ne 19. Compilation failed in require at D:/Strawberry_Perl/perl/vendo +r/lib/Net/HTTPS.pm line 25. Can't load 'D:/Strawberry_Perl/perl/vendo +r/lib/auto/Crypt/SSLeay/SSLeay.xs.dll' for module Crypt::SSLeay: load +_file:Das angegebene Modul wurde nicht gefunden at D:/Strawberry_Perl +/perl/lib/DynaLoader.pm line 193. at D:/Strawberry_Perl/perl/vendor/l +ib/Net/SSL.pm line 20. Compilation failed in require at D:/Strawberry +_Perl/perl/vendor/lib/Net/SSL.pm line 20. Compilation failed in requi +re at D:/Strawberry_Perl/perl/vendor/lib/Net/HTTPS.pm line 29. Compil +ation failed in require at D:/Strawberry_Perl/perl/vendor/lib/LWP/Pro +tocol/https.pm line 8. Compilation failed in require at D:/Strawberry +_Perl/perl/vendor/lib/LWP/Protocol.pm line 68. 500

        I checked if IUSR_WEB_Anonym got access to the perl library in case that would caused the problem, but i gave permissions and it still stuck at that point.