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

Hello Monks,

I had a probelm to build OpenSSL, while building it says no libraries found for RSAGlue, rsaref..

my key goal is to acess https sites. I found LWP module supports to acess https sites via OpenSSL and Crypt::Ssleay

I need to build OpenSSL to acess https sites.
please help me to build OpenSSL and acess https sites
advance thanks to all monks,
with regards,
Prabhu.S.M
prabhuksmani@gmail.com

Replies are listed 'Best First'.
Re: Building OpenSSL
by inman (Curate) on Mar 13, 2006 at 11:25 UTC
    Based on this (and your previous post), You are trying to add SSL support for Windows. The easiest way to do this is to install ActiveState Perl (which I guess you have) and to use the ppm facility to install Crypt::SSLeay from the University of Winnepeg repository. You need to do the following:

    1. ppm3
    2. rep add Winnepeg http://theoryx5.uwinnipeg.ca/ppms/
    3. search Crypt-SSLeay
    4. install Crypt-SSLeay

    pay attention to the bit that asked about downloading the two dlls. You may need to relocate the DLLs in your PATH in order to get this to work. The DLLs can be manually downloaded from http://theoryx5.uwinnipeg.ca/ppms/scripts/ if you don't get it right first time.

Re: Building OpenSSL
by bowei_99 (Friar) on Mar 13, 2006 at 08:30 UTC
    What is the specific error message you're getting? I'd suggest typing it into google, and look at what other people did. It sounds, though, like you may have to install those libraries. Would have to see the error messages to tell you more ....

    -- Burvil

      hai bowei,

      thanks for ur reply. now i installed Crypt::Ssleay module, while running my sample script i get Ordinal 110 could not be located in the dynamic link library SSLEAY32.dll error msg. and 501 protocol scheme for 'https' is not supported.

      #!/usr/bin/perl use LWP 5.64; my $url = 'https://www.paypal.com/'; # Yes, HTTPS! my $browser = LWP::UserAgent->new; my $response = $browser->get($url); die "Error at $url\n ", $response->status_line, "\n Aborting" unless $response->is_success; print "Whee, it worked! I got that ", $response->content_type, " document!\n";
      thanks
      with regards
      Prabhu.S.M