perl ssl

Posted on 2010-11-12
Last Modified: 2012-05-10
Hi ,

I have a http site .

Many of my linux daemon using the perl.

I have all the ssl packages .I need a way to use ssl using perl.

Question by:magento
  • 2
LVL 16

Expert Comment

ID: 34120619
You can use LWP Perl module to do all http and https transfers. See example below. Check LWP documentation for details at:

use LWP;

my $browser = LWP::UserAgent->new;

my $response = $browser->get("");

die "$url error: ", $response->status_line

   unless $response->is_success;

print $response->content;

Open in new window


Expert Comment

ID: 34120632

Author Comment

ID: 34134830

I understand ,but when i am trying to use https ,i am getting error like (no ssl found in the IO ) please advice.
LVL 16

Accepted Solution

jmatix earned 500 total points
ID: 34137868
SSL connection requires Perl module IO::Socket::SSL. Install that module from CPAN.


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
https to http for whole site 3 66
Sed question 2 68
combine multiple lines 2 41
Perl tar error 8 48
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now