Installing Crypt::SSLeay 0.57 on Windows

This section provides a tutorial example on how to install Crypt::SSLeay 0.57 for ActiveState Perl on Windows systems.

If you want to write your own Perl program to communicate with an HTTPS Web server, you should install a Perl module to help you. Currently, the best Perl module for HTTPS communication is Crypt::SSLeay, originally developed by Gisle Aas.

Crypt::SSLeay works with the LWP::UserAgent module to allow you to perform GET, HEAD and POST requests with the HTTPS server.

Here what I did to install Crypt::SSLeay:

1. Make sure I have ActiveState Perl installed on my Windows system:

C:\herong>perl -version

This is perl 5, version 12, subversion 2 (v5.12.2) built 
for MSWin32-x86-multi-thread (with 8 registered patches, see perl 
-V for more detail)

Copyright 1987-2010, Larry Wall

Binary build 1202 [293621] provided by ActiveState 
http://www.ActiveState.com
Built Sep  6 2010 23:36:03

2. Run Perl Package Manager to download and install Crypt::SSLeay as shown in the picture below:
Crypt::SSLeay Installation

3. Check the Perl home directory tree, you will see Crypt::SSLeay 0.57 installed in the .\site\lib\Crypt or .\lib\Crypt directory.

Last update: 2011.

Table of Contents

 About This Book

 Introduction of PKI (Public Key Infrastructure)

 Introduction of HTTPS (Hypertext Transfer Protocol Secure)

 Using HTTPS with IE (Internet Explorer) 10

 Using HTTPS with Chrome 40

 Using HTTPS with Firefox 35

Perl Scripts Communicating with HTTPS Servers

Installing Crypt::SSLeay 0.57 on Windows

 Crypt::SSLeay Test Perl Script

 HTTPS Request and Response Example

 Asking Crypt::SSLeay to Verify Server's Certificate

 Crypt::SSLeay Failing to Verify Server's Certificate

 Multiple CA Certificates in a Single File

 PHP Scripts Communicating with HTTPS Servers

 Java Programs Communicating with HTTPS Servers

 Certificate Stores and Certificate Console

 .NET Programs Communicating with HTTPS Servers

 CAcert.org - Root CA Offering Free Certificates

 PKI CA Administration - Issuing Certificates

 Digital Signature - Microsoft Word 2007

 Digital Signature - OpenOffice.org 3

 S/MIME and Email Security

 PKI (Public Key Infrastructure) Terminology

 Outdated Tutorials

 References

 PDF Printing Version