Skip to main content.
home | support | download

Back to List Archive

Re: Indexing Secure Servers

From: Bill Moseley <moseley(at)>
Date: Wed Apr 02 2003 - 22:14:05 GMT
On Wed, 2 Apr 2003 wrote:

> Can Swish-E index secure (https) sites?
> How can I make this work?

Swish-e uses Perl LWP modules for fetching documents.  From  LWP's


The libwww-perl package has support for using SSL/TLSv1 with its HTTP
client and server classes. This support makes it possible to access
https schemed URLs with LWP. Because of the problematic status of
encryption software in general and certain encryption algorithms in
particular, in several countries, libwww-perl package doesn't include
SSL functionality out-of-the-box.

Encryption support is obtained through the use of Crypt::SSLeay or
IO::Socket::SSL, which can both be found from CPAN. While libwww-perl
has "plug-and-play" support for both of these modules (as of v5.45),
the recommended module to use is Crypt::SSLeay. In addition to
bringing SSL support to the LWP package, IO::Socket::SSL can be used
as an object oriented interface to SSL encrypted network sockets.

There is yet another SSL interface for perl called Net::SSLeay. It has
a more complete SSL interface and can be used for web client
programming among other things but doesn't directly support LWP.

The underlying SSL support in all of these modules is based on OpenSSL
<> (formerly SSLeay). For WWW-server side SSL
support (e.g. CGI/FCGI scripts) in Apache see <>.

Bill Moseley
Received on Wed Apr 2 22:15:03 2003