This is a pretty straight-forward question, so I'm hoping there might be an easy answer as well.
I'm trying to build a little screen-scraping script using WWW::Mechanize on WinXP. I need to access some HTTPS sites, so I've installed Crypt::SSLeay using ppm3. I'm using ActiveState Perl 5.6.1, and unfortunately getting a better version will be involve a great deal of trauma.
Here's a test script:
#!/usr/bin/perl use strict; use warnings; use LWP::UserAgent; my $url = 'https://www.helsinki.fi'; my $ua = LWP::UserAgent->new; my $response = $ua->get($url); $response->is_success or die "Failed to GET '$url': ",$response->status_line; print $response->as_string;
When I run this, the response is:
Failed to GET 'https://www.helsinki.fi/': 500 SSL negotiation failed: +at P:\Perl\bin/ssltest.bat line 15.
Does anyone know what problem this error message indicates?
I installed the necessary libraries, libeay32.dll and ssleay32.dll, in C:\Perl\bin during the ppm3 installation of Crypt::SSLeay. I don't have access to a compiler, so I can't compile OpenSSL myself.
Any and all advice is appreciated! Thanks very much.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |