I upgraded to PHP 5.6 using custom build 2.0 (on Debian)
I send email out from my server using encryption).
PHP 5.6 is not happy about his, generating the following anytime I try and send anything:
[15-May-2015 20:51:01 America/New_York] PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/ikbb/domains/wwater.com/public_html/includes/phpmailer/5.2.7/class.smtp.php on line 274
I have been Googling around trying to find out the issue.
The problem is caused by OpenSSL changes in PHP 5.6. PHP is now verifying peer certificates using OpenSSL's default CA bundle.
Problem is I do not seem to have a cert for PHP to use.
This other DirectAdmin user had a the same problem. SSL certificate verification on PHP 5.6
He fixed his problem by providing PHP with the location of his cert.pem. Sounds good, except I don't have any cert.pem on my computer.
I have upgraded 3 server so far, all have the exact same problem. How can I get the certificate file that PHP is looking for?
I send email out from my server using encryption).
PHP 5.6 is not happy about his, generating the following anytime I try and send anything:
[15-May-2015 20:51:01 America/New_York] PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/ikbb/domains/wwater.com/public_html/includes/phpmailer/5.2.7/class.smtp.php on line 274
I have been Googling around trying to find out the issue.
The problem is caused by OpenSSL changes in PHP 5.6. PHP is now verifying peer certificates using OpenSSL's default CA bundle.
Problem is I do not seem to have a cert for PHP to use.
This other DirectAdmin user had a the same problem. SSL certificate verification on PHP 5.6
He fixed his problem by providing PHP with the location of his cert.pem. Sounds good, except I don't have any cert.pem on my computer.
I have upgraded 3 server so far, all have the exact same problem. How can I get the certificate file that PHP is looking for?