SSL operation failed with code 1. tls_process_server_certificate:certificate verify failed

Posted by

SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

this message appears where php not found SSL file (cer.pem), to know default location use this command

php -r "print_r(openssl_get_cert_locations()['default_cert_file']);"

then can copy your ssl file in correct path, for me i have copied ssl of laragon and put it

C:\Program Files\Common Files\SSL\cert.pem

Click to rate this post!
[Total: 0 Average: 0]

Leave a Reply

Your email address will not be published.