Hello,
I am having some problems connecting to https sites, I have no idea if I am
even asking the correct list, any help would be appriciated..
I have installed openssl 0.9.6b, Net::SSLeay Bundle::LWP MIME::Base64
HTTP::Status Basically I can post to http sites however not https it
refuses to connect to the site and does not report an error.
An example script I am trying is below.. I have tried a few differant
scripts that I have on the web to try and do things like this will no
luck. Any help is appriciated.
I have tried Net::SSLeay script with no luck either, if anyone has anything
I can try please let me know.
I am running Mandrake 8 on 2.4.x
#!/usr/bin/perl # Create a user agent object use LWP::UserAgent; $ua = new LWP::UserAgent; $ua->agent("AgentName/0.1 " . $ua->agent); # Create a request my $req = new HTTP::Request POST => 'https://www.bigpond.com; $req->content_type('application/x-www-form-urlencoded'); $req->content('match=www&errors=0'); # Pass request to the user agent and get a response back my $res = $ua->request($req); # Check the outcome of the response if ($res->is_success) { print $res->content; } else { print "An error occured\n"; } ~~~~~~~ This prints an error occured if I change the address to http:// not
https:// it works (I have tried many sites).
Thanks
Scott
|
- RE: HTTPS Nelson Gomes
- RE: HTTPS Uros Gaber - PowerCom
- Re: HTTPS yitzpick
- Re: HTTPS Nalin Dahyabhai
- Re: HTTPS Peter Sylvester
- Re: HTTPS Michael
- Re: HTTPS Xeno Campanoli
- Re: HTTPS Xeno Campanoli
- Re: HTTPS Michael
- Re: HTTPS aqilist
- Re: https Scott Stavretis
- Re: https [EMAIL PROTECTED]
- Re: https Keary Suska
- Re: https Marko Asplund
- Re: https Marko Asplund
- Re: https Keary Suska
- https [EMAIL PROTECTED]