curl-users
Re: curl: (58) unable to set certificate file (wrong password?)
From: Goetz Babin-Ebell <gbabinebell_at_betrusted.com>
Date: Thu, 02 Sep 2004 17:51:34 +0200
Received on 2004-09-02
Date: Thu, 02 Sep 2004 17:51:34 +0200
Daniel Stenberg wrote:
> On Thu, 2 Sep 2004, Goetz Babin-Ebell wrote:
>
>> The reported error is a little bit confusing here. Perhaps we should
>> have changed it to something like "failed to set private key (wrong
>> psss phrase or key not found)"
>
> Really? This problem is detected when the SSL function
> SSL_CTX_use_certificate_chain_file() fails, so it is the certificate
> file that causes the problem.
Oups.
Perhaps I should have looked in the source before posting my comment... ;-)
> Perhaps the error message should then instead be:
>
> "unable to use client certificate (no key found or wrong pass phrase)"
>
> (modified the explicitly mention client as well)
Yes.
That seems better...
Bye
Goetz
-- Goetz Babin-Ebell, software designer, TC TrustCenter AG, Sonninstr. 24-28, 20097 Hamburg, Germany Office: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126 www.trustcenter.de www.betrusted.com
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature