Google Chrome : Your connection to website is encrypted with obsolete cryptography
Problem :
While checking out if my SSL certificates installed correctly. I noticed that Google Chrome labelled the SSL connection as encrypted with obsolete cryptography.
Apparently, the website server SSL ciphers are weak and obsolete by today's standard and Chrome decided to provide the accurate nerd data(which is something good).
Solution :
I need to change the ciphers that are used to encrypt the connection. Since I'm not good with encryption stuff, I decided to use configuration from my another website which was marked as "modern" cryptography. So what I did was to copy the configuration(Apache) over and adapt to Nginx.
These are the lines in the nginx.conf file after modification :
# default settings commented out
# ssl_protocols SSLv2 SSLv3 TLSv1;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4;
ssl_prefer_server_ciphers on;
and after restarting Nginx. Google Chrome now sees the encryption as "modern" !
UPDATE : This is the Apache setting in ssl.conf
file :
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH EDH+aRSA !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4"
Hope this simple tutorial can be useful to you.
Reference :
http://www.chromium.org/Home/chromium-security/education/tls
See also : SSL : The certificate is not trusted because no issuer chain was provided
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+7.6k Gogland : Where to put source code files in package directory for rookie
+9.8k Golang : Sort and reverse sort a slice of integers
+18.8k Golang : Read input from console line
+14.7k Golang : Submit web forms without browser by http.PostForm example
+16.3k Golang : How to implement two-factor authentication?
+15.6k Golang : Get current time from the Internet time server(ntp) example
+12.6k Golang : Listen and Serve on sub domain example
+9.3k Golang : Accessing content anonymously with Tor
+46.2k Golang : Marshal and unmarshal json.RawMessage struct example
+5.5k PHP : Convert string to timestamp or datestamp before storing to database(MariaDB/MySQL)
+21.4k Golang : GORM create record or insert new record into database example
+6.4k Unix/Linux : How to get own IP address ?