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

Trying to pull a page from a HTTPS site. I am able to login and navigate site and parse tables. But when I try to pull the last page and print out print $agent->content() i get the following error. Forbidden ( The page must be viewed over a secure channel (Secure Sockets Layer (SSL)). Contact the server administrator. ) I have IO::Socket::SSL & Crypt::SSLeay isntalled and am set in the script like: use IO::Socket::SSL; use Crypt::SSLeay; Any thoughts?? I have written hundreds of LWP and Mech scripts for donwloading files from HTTPS sites but this one has be stumped. Thanks!!!!

Replies are listed 'Best First'.
Re: Perl Mechanize+SSL
by syphilis (Archbishop) on Jan 19, 2011 at 23:23 UTC
    Check the noproxy documentation, especially the bit about Crypt::SSLeay and proxy servers - it might (or might not) be relevant to your problem.

    Cheers,
    Rob