Saturday, February 16, 2008

Enable HTTPS with Perl


Share at Facebook

Sometimes a task may get tougher if you don't know the exact way. I was searching for an easy way to work my Perl with HTTPS. Below is how it worked for me at Windows XP.

1) Assume you have Perl(i used version 5.8.8) installed at C:\perl directory.

2) Now install OpenSSL. To do this go to the link http://www.slproweb.com/products/Win32OpenSSL.html, then download [Win32 OpenSSL v0.9.8g] and install at [C:\OpenSSL] directory.

3) After that, Install [Crypt::SSLeay] using the below command.
ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
if this is not working, then try with CAPAN.
cpan install Crypt::SSLeay

You can find more details of installing Crypt::SSLeay with example of HTTPS use at, http://johnbokma.com/perl/https.html




No comments: