cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Re: SSL POST w Client Certificate

From: Kevin Lowe <klowe_at_solomon.ie>
Date: Wed, 16 Jul 2003 09:35:52 +0100

Re: Re: SSL POST w Client CertificateNelson,

My experience is only with Unix/Apache so dont know if there is any OS differences in play here. Also, for my private cert I used a password instead of a cert key file as you had, so I only had two PEM files in total, plus a password.

I would suggest that you try to get this working with the cURL command line interface first (i assume there is a win version?) - this will eleminate PHP and make it easier to pinpoint errors.

Did you het any error messages? try:
 $curl_return_error_text = curl_error ($ch);
 $curl_return_status = curl_errno ($ch);

Also look at curl_getinfo ($ch); which gives lots of info on the session.

Good luck!
Kevin
  ----- Original Message -----
  From: Nelson Ricardo Gomes
  To: 'curl-and-php_at_lists.sourceforge.net'
  Sent: Monday, July 14, 2003 3:03 PM
  Subject: Re: Re: SSL POST w Client Certificate

  In reply to Kevin Lowe's email,

  first let me thank you, for the attention.
  Second, the problem still exists, I converted the certificate to 3 pem files (attached), without any password required (not very secure, I know), but It fail to be recognized with curl.

  The same 3 certificate files ARE working with other implementation, based on C and Openssl.

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
Received on 2003-07-16