curl-users
Re: curl: (35) couldn't use certificate! error
Date: Wed, 09 Jan 2002 15:21:02 +0100
"Zemljic, Martin" wrote:
>
> The certificte has the following sections (yes, I have read the manual, and
> I hope I understood it...)
> Bag Attributes
> friendlyName: 571...
> localKeyID: 19 ...
> Key Attributes: <No Attributes>
> -----BEGIN RSA PRIVATE KEY-----
> Proc-Type: 4,ENCRYPTED
> DEK-Info: DES-EDE3-CBC,...
> .........
> -----END RSA PRIVATE KEY-----
OK, you have a private key...
> Bag Attributes
> friendlyName: ...
> subject=...
> issuer= ...
> -----BEGIN CERTIFICATE-----
> ....
> -----END CERTIFICATE-----
Ough.
That is your problem.
This is the CA certificate.
Temove this and try again...
> Bag Attributes
> friendlyName: ...
> localKeyID: 19...
> subject=...
> issuer= ...
> -----BEGIN CERTIFICATE-----
> ....
> -----END CERTIFICATE-----
This is your certificate...
At the moment I don't know if the order of key / cert matters
(cert / key or key / cert)
Bye
Goetz
-- Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de Sonninstr. 24-28, 20097 Hamburg, Germany Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature