cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Using SSL with Client Certs : empty reply from server

From: Manuel Reyes <Manuel.Reyes_at_e-mis.com>
Date: Wed, 27 Jul 2005 18:11:39 +0100

Just incase anybody is searching these archives for the solution to this
problem, I have managed to get this working.

These are the steps I followed:

1) Removed all certificates from the bundle with the exception of the
root certificate (although it does still work with them all in)

2) Use the following OpenSSL command to convert the PKCS12 into PEM
format

openssl pkcs12 -in c:\certs\cert.p12 -clcerts -out pempkcs12.pem

This will ask you to confirm the cert password, and give a new pem
password

3) Run the following Curl command:

curl --url https://myserver.com -E pempkcs12.pem

And much smiles were to be had by all watching HTML scroll up the screen
:)
Received on 2005-07-27