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

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -