Crypt::SSLeay

Crypt::SSLeayはppmのモジュール指定ではインストールできないみたいだ。

ppmコマンドでCrypt::SSLeayをインストールするには、モジュール名ではなく、PPDファイルを指定してあげる必要があります。この理由や指定すべきPPDファイルについてはStatus of the ActiveState PPM Repositoriesの「Cryptographic Modules」で説明されています。

Cryptographic Modules

The Canadian Federal Government requires that companies and organizations that wish to distribute cryptographic software get a permit in order to do so. ActiveState does not have this permission. This affects the availability of the following CPAN modules:


Crypt-Anubis
Crypt-Blowfish
Crypt-Blowfish_PP
Crypt-CAST5
Crypt-CAST5_PP
Crypt-Camellia
Crypt-DH
Crypt-DSA
Crypt-GPG
Crypt-GOST
Crypt-GOST_PP
Crypt-IDEA
Crypt-Khazad
Crypt-Loki97
Crypt-Noekeon
Crypt-OpenPGP
Crypt-OpenSSL-DSA
Crypt-OpenSSL-RSA
Crypt-OpenSSL-SMIME
Crypt-PGP2
Crypt-PGP5
Crypt-PGPSimple
Crypt-RC4
Crypt-RC5
Crypt-RC6
Crypt-RIPEMD160
Crypt-Rainbow
Crypt-Rijndael
Crypt-Rijndael_PP
Crypt-RSA
Crypt-SEAL2
Crypt-Serpent
Crypt-SSLeay
Crypt-Serpent
Crypt-Shark
Crypt-Skipjack
Crypt-Square
Crypt-Twofish
Crypt-Twofish2
Net_SSLeay
TwoFish

The two popular crypto modules Crypt-SSLeay and Net_SSLeay can be found in other repositories, and can be installed using PPM as follows:

ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd

The above command installs the Perl 5.8 PPM of Crypt-SSLeay from the University of Winnipeg's PPM repositories. For the Perl 5.6 PPM, use the following command:


ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Crypt-SSLeay.ppd

This perl module provides support for the https protocol under LWP, to allow an LWP::UserAgent object to perform GET, HEAD and POST requests. Please see LWP for more information on POST requests.

The Crypt::SSLeay package provides Net::SSL, which is loaded by LWP::Protocol::https for https requests and provides the necessary SSL glue.