Hi.
I've worked quite bit with the modules in libwww, but I'm trying to use
Net::SSLeay/Crypt::SSLeay for the first time and they have me confused. As as
example here is a snippet from the Net::SSLeay doc:
($page, $response, %reply_headers)
= post_https('www.bacus.pt', 443, '/foo.cgi', # 3b
make_headers('Authorization' =>
'Basic ' . MIME::Base64::encode("$user:$pass")),
make_form(OK => '1', name => 'Sampo'),
$mime_type6, $path_to_crt7, $path_to_key8);
The 3 args $mime_type6, $path_to_crt7 and $path_to_key8 have me confused.
Question #1: I can export my certificate from IE or Netscape and get it in what
I think is a PKCS12 format. I can then use this openssl command to get myself
a PEM file:
openssl pkcs12 -in my.pfx -out my.pem
But apparently I need two files $path_to_crt7 and $path_to_key8. By their
names I can see they are some sort of certificate and key files. What is the
openssl command to generate them from a PKCS12 file? I see the pkcs12 command
has a few options relating to certs, but I've not been able to figure them out.
I'm guessing I need to run the command twice - each time with a different
option.
Question #2: Whats a default value for $mime_type6?
Thank you,
John
=====
John Lien
FriedWire Inc
Boulder, CO
303.447.0288 x28
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]