http://qs321.pair.com?node_id=79509

jjhorner has asked for the wisdom of the Perl Monks concerning the following question:

I am rewriting an awful monitoring script we use to monitor our numerous webservers.

Since I'm already writing it, I am just going to figure out if I can finally make the https requests work (for our https only servers). This script has been unchanged in the 1.5 years I've been here, but I'm ready to make it work.

Question:

How do I make https requests using a simple perl module?

I could probably fumble through my own method (not really likely) but I would rather see if it has already been done. Thanks,

J. J. Horner
Linux, Perl, Apache, Stronghold, Unix
jhorner@knoxlug.org http://www.knoxlug.org/

Replies are listed 'Best First'.
Re: HTTPS requests with a perl module
by tinman (Curate) on May 10, 2001 at 22:32 UTC

    Use LWP...just try a search on Super Search for https..that turned up LWP and HTTPS among others..

    You need Crypt::SSLeay installed, and then https calls can be made in the same way as http requests are...
    HTH

Re: HTTPS requests with a perl module
by LD2 (Curate) on May 10, 2001 at 22:30 UTC