If you installed PHP 5.6 or grater and your application returns something like this:
SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL...
Then there is a simple fix for that. You can overrideĀ default OpenSSL’s CA bundle with the one bellow.
- Download this cert bundle.
- Add this line to your php.ini file
openssl.cafile=/path/to/your/downloade/cacert.pem
- Restart apache/nginx and you should be ok.