//Avoiding ssl authentication for https
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSLVERSION, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
Just add the last two sentences.
Read More:
- [Solved] cURL error 60: SSL certificate problem: unable to get local issuer certificate
- [Solved] iis cURL error 60: SSL certificate problem: unable to get local issuer certificate
- [Solved] OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
- [Solved] PHP Error: Warning: file_get_contents(): Failed to enable crypto
- [Solved] getObject: FAILED RequestCoreException: cURL resource: Resource id #78; cURL error: SSL certificate
- Fastadmin Menu “cURL error 77: error setting certificate verify locations
- [Solved] PHP getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- [Solved] file_get_contents(): SSL operation failed with code 1
- [PHP] Array to string conversion error when sending data in post
- PHP: How to get the total number of data in the MySQL table (total number of rows)
- [Solved] Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- [Solved] PHP installation Phalcon expansion error
- Laravel-admin php artisan admin:install error reporting problem solution
- PHP solves the problem that composer exceeds the memory size Allowed memory size
- PHP: How to parse MHT file into HTML
- Configure: error: Cannot find libz error appears when brew installs php70
- How to Hide index.php
- php Error: mail() Failed to connect to mailserver at “localhost” port 25