curl-and-php
Could you please give advice to connect and post data to a SSL server whick ask a vaild client certificate?
Date: Thu, 1 Mar 2001 09:16:42 +0800
Hi,
I am a curl-php-apache users, how should I do to connect and post raw data to a SSL server which ask the client must present a vaild certificate ?
I have used the methods as following
exec("/usr/local/curl/bin/curl -i -S -v -m 120 -d '$data' $url --cert client.cert", $return_message_array, $return_number);
exec("/usr/local/curl/bin/curl -i -S -v -m 120 -d '$data' $url --cert client.cert --cacert CA.cer", $return_message_array, $return_number);
But both these methods got error 35:SSL connect error. The SSL handshaking failed.
Could you please give me any advice? Thank you very much.
Best regards,
Gary
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-03-01