ssl - Run DocuSign sample PHP code? -
when running this php code on server addition of adding info @ top , changing line 27 to:
echo "error calling webservice, status is:" . $status . " " . curl_error($curl);
i error:
error calling webservice, status is:0 ssl certificate problem, verify ca cert ok. details: error:14090086:ssl routines:ssl3_get_server_certificate:certificate verify failed
any ideas on how fix this?
you're going want set curl handler ignore ssl errors (assuming testing on local machine). syntax is:
curl_setopt($chandler, curlopt_ssl_verifyhost, false); curl_setopt($chandler, curlopt_ssl_verifypeer, false);
please don't use in production not secure.
Comments
Post a Comment