Chrome 41 ERR_SSL_VERSION_OR_CIPHER_MISMATCH Tomcat 7

匿名 (未验证) 提交于 2019-12-03 02:51:02

问题:

Since I have updated Chrome from Version 40 to 41, I no longer can access my ssl site running in a local tomcat 7 instance. I have a self signed certificate.

Chrome just prints This webpage is not available together with ERR_SSL_VERSION_OR_CIPHER_MISMATCH.

I already tried the chrome://flags switch Minimum SSL/TLS version supported to SSLv3, which did not work.

回答1:

I had the same problem with my Java EE web application running with a self signed certificate on Wildfly 8.1.

You are probably using a 1024 bit DSA public key with your selfsigned certificate and Chrome stops/stopped supporting DSA(DSS).

Creating a RSA 2048 certificate and using it with your web application should solve your problem.



回答2:

I doubt its an SSL/TLS protocol version problem. Most of the time this error means the server and client couldn't agree on which cipher to use. Take a look at this blog post: https://blog.eveoh.nl/2014/02/tls-ssl-ciphers-pfs-tomcat/ on how to enable a secure and compatible cipher suite in Tomcat.



回答3:

In the Tomcat server.xml file you can set ciphers attribute in the SSL/TLS <connector/> element.

ciphers="TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,           TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,          TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,          TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,          TLS_ECDHE_RSA_WITH_RC4_128_SHA,          TLS_RSA_WITH_AES_128_CBC_SHA256,          TLS_RSA_WITH_AES_128_CBC_SHA,          TLS_RSA_WITH_AES_256_CBC_SHA256,          TLS_RSA_WITH_AES_256_CBC_SHA,          SSL_RSA_WITH_RC4_128_SHA" 

This solved the problem in my case for ERR_SSL_VERSION_OR_CIPHER_MISMATCH in Chromium / Chrome and for ssl_error_no_cypher_overlap in Firefox.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!