curl-and-php
Re: Error 58 unable to set private key file
Date: Thu, 14 Dec 2006 13:26:47 +0100 (CET)
On Thu, 14 Dec 2006, The PayPerPhone company; Willem Blok wrote:
> Tried every tip with succes.
What tips are those?
> When using CURL all works fine, however with Curllib not
Eh, what's the difference? "CURL" is what PHP people tend to call the PHP/CURL
binding and "Curllib" sounds like libcurl but the only way PHP hackers access
libcurl is by using the PHP/CURL binding.
Or is "CURL" the same as using the curl command line tool?
> Certs are open SSL selfsigned 1024
How can the client cert be self-signed?
> this is the error;
>
> chErrNo: 58 chErrStr: unable to set private key file:
> '/path/ifs101_client.pem' type PEM
You need to pass on the corresponding key file and passphrase for the key when
you use a client certificate.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-12-14