miller has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, My problem is that iīm trying to access a https-page using perl with the following modules crypt-ssleay, http, lwp and it seems like it gets the certificate right but when i print the page, it shows the login-page and not the page that I want to see. Here is what I have tried:
use HTTP::Request::Common; use LWP::UserAgent; use CGI qw(header -no_debug); $ua = LWP::UserAgent->new(); $req = POST $test, [ username => 'XXX', password => 'YYY', ]; $content = $ua->request($req)->as_string; print "content-type: text/html\n\n"; #print $content; #print $req->as_string; $page = $ua->request($content); # *** TEST *** if ($page->is_success) { print $page->content; } else { print $page->error_as_HTML; }
Do anyone know of af page where I can test this ? maybe itīs because it runs on a domino-webserver ? Thanks, Miller

Replies are listed 'Best First'.
Re: I canīt seem to get the https part right :-(
by Aighearach (Initiate) on Jun 21, 2001 at 03:51 UTC
    It looks like you're not using strict mode... for at least some of us that makes us not even want to look into it. Just a thought, since you're not getting tons of response.
    --
    Snazzy tagline here