cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl: (58) unable to set certificate file (wrong password?)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 2 Sep 2004 14:24:09 +0200 (CEST)

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.

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)

?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-02