SSleay error: OPENSSL_Uplink<022A9010,06>: no OPENSSL_Applink

"Zak Witter" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Hello,
I'm trying to access a website that requires SSL and a client
certificate. I'm using Crypt::SSLeay and keep getting the error:
OPENSSL_Uplink<022A9010,06>: no OPENSSL_Applink. I installed the
modules using PPM and it had me install all the required DLLs to
c:\perl. I was,however, able to access a different https site that did
not use client certification. This makes me think that I am doing
something wrong. I did a google search but it only came back with
things for C/C++ programmers, and said something about the naming of
the DLL files. Here is the relevant part of my code:

# Client PKCS12 cert support
$ENV{HTTPS_PKCS12_FILE}     = 'certs/ceritificate.p12';
$ENV{HTTPS_PKCS12_PASSWORD} = 'passphrase';
	
$ua = LWP::UserAgent->new;
$ua->agent("$0/0.1 " . $ua->agent);
$req = HTTP::Request->new(GET => 'https://example.com');
$req->header('Accept' => 'text/html');

# send request
$res = $ua->request($req);
# check the outcome
if ($res->is_success){
        print $res->decoded_content;
}
else{
        print "Error: " . $res->status_line . "\n";
}

I replaced the certificate file name/passphrase and the website name
for privacy.
Thanks.
- Zak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.