Troubleshooting of curl errors: Difference between revisions

Jump to navigation Jump to search
Line 68: Line 68:
Related articles
Related articles
* [https://github.com/curl/curl/issues/4982 cURL error 56: OpenSSL SSL_read: No error information · Issue #4982 · curl/curl]
* [https://github.com/curl/curl/issues/4982 cURL error 56: OpenSSL SSL_read: No error information · Issue #4982 · curl/curl]
== How to resolve cURL error: SSL: no alternative certificate subject name matches target host name xxx ==
Walkaround solution<ref>[https://stackoverflow.com/questions/20842970/curl-fix-curl-51-ssl-error-no-alternative-certificate-subject-name-matches Curl: Fix CURL (51) SSL error: no alternative certificate subject name matches - Stack Overflow]</ref>:
<pre>
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
</pre>


== How to resolve the error: error code: 1010 ==
== How to resolve the error: error code: 1010 ==

Navigation menu