Hello,
I made decision upgrade my current php version from 5.5 fastcgi to 7.0 php-fpm.
process done successfully but when i use curl and fsockopen() to update orders and use smtp to sent email, i receive an error:
Stream_socket_enable_crypto
SSL3_get_server_sertificate error.
Not accepted EHLO from server.
I read in this forum related posts.
I found where is my cert.pem.
I use centos 7. Certs are located in /etc/pki/tls/cert.pem
I made backup and download new cert.pem from Mozilla.
I add path to my /usr/local/php70/lib/php.ini as following: openssl.cafile=/etc/pki/tls/cert.pem
Apache and php-fpm restarted by problem still.
I even add cert.pem to /etc/ssl/certs/cert.pem and add path to php.ini but didn't work.
I had not directory SSL in /etc but i created it and copy cert.pem to it.
Any help will be appreciated.
Best regards,
Sergey
I made decision upgrade my current php version from 5.5 fastcgi to 7.0 php-fpm.
process done successfully but when i use curl and fsockopen() to update orders and use smtp to sent email, i receive an error:
Stream_socket_enable_crypto
SSL3_get_server_sertificate error.
Not accepted EHLO from server.
I read in this forum related posts.
I found where is my cert.pem.
I use centos 7. Certs are located in /etc/pki/tls/cert.pem
I made backup and download new cert.pem from Mozilla.
I add path to my /usr/local/php70/lib/php.ini as following: openssl.cafile=/etc/pki/tls/cert.pem
Apache and php-fpm restarted by problem still.
I even add cert.pem to /etc/ssl/certs/cert.pem and add path to php.ini but didn't work.
I had not directory SSL in /etc but i created it and copy cert.pem to it.
Any help will be appreciated.
Best regards,
Sergey