curl-users
RE: Error 35
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Mar 2002 11:16:23 +0100 (MET)
Date: Mon, 18 Mar 2002 11:16:23 +0100 (MET)
On Mon, 18 Mar 2002, Ajit, Kumar (IE10) wrote:
> It says: "unable to set private key file". it appears in ssluse.c, only
> once. it seems some problem with the file_type. Do i need to set something
> else? I have created the certificate and key files by using openSSL.
If the file is in PEM format, you should be OK. If you this is your case, you
probably have a problem with file properties or a bad path or something.
If you store it using DER format, you must first tell libcurl that with the
CURLOPT_SSLKEYTYPE option.
The only other (currently) recognized key format is ENG for the ENGINE
support.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-03-18