initiate an SSL request from CentOS 5.11 using perl 5.8.8

(Please put the word "carrot" in your bid to prove that you read the description. If a worker sends me a "bid" which says "WE ARE DEV SHOP WE ARE DO MANY PROJECTS LIKE YOURS WE ARE HELP YOU FAST GOOD" I am going to assume that worker is spamming people without reading the project description.)

I have a system running CentOS 5.11 and perl 5.8.8. With most websites, I am able to use LWP::UserAgent to request pages over SSL successfully:

perl -e 'use LWP::UserAgent; my $ua = new LWP::UserAgent; $res = $ua->get("[login to view URL]"); print substr($res->content, 0, 100) . "\n";'

<!doctype html><html itemscope="" itemtype="[login to view URL]" lang="en"><head><meta content

However, with some sites I get an SSL error, e.g.:

perl -e 'use LWP::UserAgent; my $ua = new LWP::UserAgent; $res = $ua->get("[login to view URL]"); print substr($res->content, 0, 100) . "\n";'

500 SSL negotiation failed:

I would like to know what I have to change or what lines I have to add in order to fix this. (You can submit a solution as a text file of code; it doesn't have to fit on a single line like I did above, that was just so that the demonstration would fit on a single command line.)

Skills: Linux, Perl

See more: http request type post using, ftp file using perl windows, handle duplicate record mysql using perl, linux, web scraping, perl, apache, companies using perl pune, filling html using perl, easy order form using perl, send mail mysql using perl script, using perl unzip zip, using perl script extract http cookies, insert current date time mysql using perl cgi, using perl fetch mssql data, design form using perl cgi, using perl forms, cpu time using perl unix, ftp files using perl scripts

About the Employer:
( 129 reviews ) Bellevue, United States

Project ID: #17028148

5 freelancers are bidding on average $19/hour for this job


First of all I know about carrot. You have pretty old Perl and I'm pretty sure that you need to update couple of modules to work with SSL nowadays. I can provide you solution if you give me list of sites you have More

$27 USD / hour
(259 Reviews)

Hi, I have read your requirements, I will definitely help you in configurations and setting up the environment as per your requirements.I have versatile experience of 5 years in setting-up and managing various server More

$15 USD / hour
(14 Reviews)
$22 USD / hour
(8 Reviews)

carrot Hi, I have read your exact requirement and have understood the error. I will fix it as per your guidance. Thanks karuna

$15 USD / hour
(3 Reviews)
$16 USD / hour
(2 Reviews)