cURL / Mailing Lists / curl-users / Single Mail

curl-users

SSL question

From: Wiliam Geurts <william.geurts_at_asml.com>
Date: Thu, 07 Jun 2001 13:53:16 +0200

Hi,

I started using curl today and experience a problem using my peronal
signed certificate. I use my Netscape certificate (which is working
perfect in my netscape enviroment), I exported and converted this
certificate using "openssl pkcs12 -in william.p12 -out cert.pem". When I
start curl I must enter my password and then I just get an error 35.
This certificate is signed by a CA.

$ /opt/curl/bin/curl --cert ./cert.pem https://www.somewhere.nl
Enter PEM pass phrase:
curl: (35) couldn't use certificate!
$

My cert.pem veryfies ok (with openssl verify) !
$ openssl verify -CAfile CA.cert.pem cert.pem
cert.pem: OK
$

Cert.pem looks like:
Bag Attributes
    friendlyName: Wiliam Geurts's ASML ID
    localKeyID: 12 34 56 78 etc
Key Attributes: <No Attributes>
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: SomeInfo

Privatekey==
-----END RSA PRIVATE KEY-----
Bag Attributes
    friendlyName: ASML Internal Client CA - ASML
subject=/O=ASML/OU=ASML CA/CN=ASML Internal Client CA
issuer= /O=ASML/OU=ASML CA
-----BEGIN CERTIFICATE-----
Certificate=
-----END CERTIFICATE-----
Bag Attributes
    friendlyName: ASML Certificate Authority
subject=/O=ASML/OU=ASML CA
issuer= /O=ASML/OU=ASML CA
-----BEGIN CERTIFICATE-----
Certificate==
-----END CERTIFICATE-----
Bag Attributes
    friendlyName: Wiliam Geurts's ASML ID
    localKeyID: Somekey
subject=/O=ASML/C=NL/CN=William
Geurts/0.8.1382.18279503.111.0.3=wigeurts/Email=william.geurts_at_asml.nl
issuer= /O=ASML/OU=ASML CA/CN=ASML Internal Client CA
-----BEGIN CERTIFICATE-----
SomeCert
-----END CERTIFICATE-----

Could anybody help me ?

--
William Geurts                                  ASM-Lithography B.V.
2D1089                                          Run 1110,
+31-(0)40-2683692                               5503 LA VELDHOVEN
William.Geurts_at_asml.nl

Received on 2001-06-07