| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: Please Help
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Dec 2005 23:32:16 +0100 (CET)
On Thu, 1 Dec 2005, Ross Chatfield wrote:
> I want to send XML string to a server that require a .PEM file.
Servers don't actually require "PEM" files. They require certificates if that
> But I never get a response from the server and get error : (58) unable to
You need to pass both certificate and key, and the key has a password you
> I've tried using
You seem to be confusing matters. Those options are about the CA cert and your
Besides, the last one above is not a valid option.
> If I commented out the curl_setopt ($ch, CURLOPT_SSLCERT, $cert) line, I
So set the cert, key and passphrase and it probably works!
> So, is this an error from my server or from the other server?
libcurl only speaks to the server you tell it to, so if you get a response 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-12-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info