Firefox访问https出现 ssl_error_weak_server_ephemeral_dh_key错误
2015-12-11 15:40
615 查看
公司网址用了https后用firefox和三星设备访问会有上面的错误。证书的确是买的呀。下面方法有效。转自 http://www.cnblogs.com/milton/p/4624559.html
一个自签名的内部网站当ff访问时出现以下错误
SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message. (Error code: ssl_error_weak_server_ephemeral_dh_key)
服务器使用的是tomcat, 解决办法, 修改tomcat/conf/server.xml, 更改配置, 增加sslEnabledProtocols和ciphers
一个自签名的内部网站当ff访问时出现以下错误
SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message. (Error code: ssl_error_weak_server_ephemeral_dh_key)
服务器使用的是tomcat, 解决办法, 修改tomcat/conf/server.xml, 更改配置, 增加sslEnabledProtocols和ciphers
<Connector protocol="org.apache.coyote.http11.Http11Protocol" port="9443" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" disableUploadTimeout="true" acceptCount="100" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="/home/tomc/apache-tomcat-7.0.33/conf/server.keystore" keystorePass="111111" clientAuth="true" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" 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" URIEncoding="UTF-8"/>
相关文章推荐
- 札记:计算机网络篇:物理层
- libcurl使用认证证书 https认证
- Android Asynchronous Http Client-Android异步网络请求客户端接口
- Linux 下curl模拟Http 的get or post请求
- 如何解决XMLHttpRequest cannot load file~~~~~~~Origin 'null' is therefore not allowed access
- 黑马程序员——网络编程
- 使用xutils请求网络参数为json字符串时报错IOException
- TCP 和 UDP 能否使用相同的端口号?
- http://www.iconfont.cn/
- 网络应用的编程模型
- Android Asynchronous Http Client
- PHP漏洞全解(七)-HTTP响应拆分
- iOS开源项目大全(一)(整理自网络)
- 简单的网络协议介绍
- iOS开源项目大全(二)(整理自网络)
- Android网络编程---HttpURLConnection
- 处理TCP连包的一小段代码
- spring(基础十) Spring HTTP Invoker使用介绍
- 用Xutils 加载网络图片。设置Appliction
- linux使用wget下载https开头url的文件