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

Convert a number in a string variable into a number in Javascript, jQuery

It is possible to get frustrated when you are coding in JavaScript and are trying to do some arithmetic calculations in the course of your ...

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