Hi.
I'm trying to get off the ground with two Perl modules that are new to me -
Net::SSLeay or Crypt::SSLeay.

My question really applies to either module since they need similar arguments. 
As an example my for question, this snippet is 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.  Could I get a
little more info about what those two files are?  And does anyone know the
openssl command to generate them from a PKCS12 file?  Or do I need to run the
openssl command twice with two different output filenames?

Question #2: What should the value for mime_type6 be?

Thanks for your help,
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]

Reply via email to