curl-and-php
Re: curl_setopt($ch, CURLOPT_SSLCERT, $sslcertpath);
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Nov 2005 23:30:28 +0100 (CET)
Date: Thu, 10 Nov 2005 23:30:28 +0100 (CET)
On Thu, 10 Nov 2005, Josh McKenney wrote:
> I'm having an issue where curl and php are playing friendly UNTIL I try to
> curl_setopt a CURLOPT_SSLCERT. We've tried everything from upgrading curl
> and php to hacking the curl install. I know for absolute sure that the cert
> file is in the right place and in the right format as I have tried on
> another server and it worked.
...
> Error 58: unable to use client certificate (no key found or wrong pass
> phrase?)
The "no key" part being the key (no pun intended). You should set the path to
your private key as well (and the key for it).
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2005-11-10