Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Perl Mechanize+SSL

by Anonymous Monk
on Jan 19, 2011 at 22:18 UTC ( [id://883214]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://883214]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-23 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found