Wednesday, May 03, 2017

NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP) Cannot communicate securely with peer: no common encryption algorithm(s)


NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP) Cannot communicate securely with peer: no common encryption algorithm(s). * Closing connection 0

I encountered a link which told me to update nss to fix the issue, like so.

If you're on CentOS 7 and are getting these errors while using yum, updating nss nss-util nss-sysinit nss-tools will fix it.

But, then, it did not seem to solve my problem, while setting the "setopt" option in curl for SSLVERSION seemed to fix it, magically.

See below:

The problem was sorted out when the following options were set in the curl_setopt() before calling curl

curl_setopt($ch, CURLOPT_SSLVERSION, 6);

Problem SOLVED
Post a Comment

The curious case of the htaccess file and the 500 Internal server error

.htaccess file and 500 Internal server error Did you know that just a harmless change in the .htaccess file can result in your page not ...

Copyrighted.com Registered & Protected DWYE-NHTO-NBNH-7FFM