Hello,

Well, I don't know where is your problem, (perhaps some additional explanations should be welcome ;)),
but if you try to build a client, you shoud :


Export your certificate(s) as a .pem or pkcs12 file.
Copy it onto your certs directory and run the openssl c_rehash utility to create a "hash" symbolic link,
something like a xxyyzz.O file.


use LWP, along with Crypt::SSLeay module, and the LWP debug facilities.
It is usefull to find out what happens.
Send your authentication data (user + password) with each request (in the header).
Note that you have nothing else special to deal directly with Crypt::SSLeay unless to install it,
and declare /as environment variables,/ the certificate type, name and path (see the module doc).
Do not give these values in the UserAgent header.


Well, I think that's all, but do not forget a step.
I spent a long time to discover that exporting your certificate from your browser is not enough.
The "c_rehash" step is mandatory ... perhaps I forget to read something ...
but , IMHA, it was not clear, be it on the Crypt::SSLeay module doc, or on the openssl doc.



Hope it will help you !

Best Regards.
J.L.P.


.

Lutz Jaenicke wrote:

Forwarded to the openssl-users list.

Best regards,
        Lutz
----- Forwarded message from Phan Nguyen Trung Hieu <[EMAIL PROTECTED]> -----

X-Original-To: [EMAIL PROTECTED]
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-BitDefender-Scanner: Clean, Agent: SMTP PROXY 1.5.6 (smail.tma.com.vn)
Subject: How to use OpenSSL with PERL?
From: Phan Nguyen Trung Hieu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 08 Nov 2004 10:29:37 +0700
X-Virus-Scanned: by amavisd 0.1
X-Virus-Scanned: by amavisd 0.1


        I'm trying to user OpenSSL with POST method in PERL. But It don't run!
Please help me how to configure OpenSSL for using POST method in PERL.
        Thanks very much!
        Hieu Phan


----- End forwarded message -----



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to