cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl: (35) couldn't use certificate! error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Jan 2002 10:05:41 +0100 (MET)

On Tue, 8 Jan 2002, Zemljic, Martin wrote:

> Here is the problem (either in command line and PHP script)
>
> curl -E cert.PEM -v https://some.secure.page/somelocation
> Enter PEM pass phrase: ***
>
> ends with
>
> curl: (35) couldn't use certificate!

Is this really both your certificate and your private key merged into one
single file?

As the man page for curl -E says:

   Note that this certificate is the private key and the private
   certificate concatenated!

> openssl pkcs12 -in cert.p12 -out cert.PEM

This indicates that it isn't...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-01-09