tomcat无法建立ssl连接 [英] tomcat can't establish ssl connection
问题描述
我无法与 tomcat 建立 ssl 连接.Chrome 写入 "107 (net::ERR_SSL_PROTOCOL_ERROR"
.我已经通过 keytool.(>keytool -genkey -alias tomcat -keyalg RSA -keystore mystore -validity 999 -keysize 512
) 生成了 mystore 文件并将其放入 D:\mystore.
I can't establish ssl connnection with tomcat. Chrome writes "107 (net::ERR_SSL_PROTOCOL_ERROR"
.
I've generated mystore file via keytool.(>keytool -genkey -alias tomcat -keyalg RSA -keystore mystore -validity 999 -keysize 512
) and put it to D:\mystore.
也在我的 server.xml 中:
also in my server.xml:
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="443"/>
<Connector port="443" SSLEnabled="true" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="200"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="d:\mystore" keystorePass="123123" keystoreType="JKS"
keyAlias="tomcat"/>
当我在日志中启动 tomcat 时,存在这些字符串:
and when I starting tomcat in logs exist these strings :
INFO: Starting ProtocolHandler ["http-bio-443"]
сен 05, 2012 9:00:29 AM org.apache.coyote.AbstractProtocol start
当我尝试https://localhost/lib
(或 https://localhost:443/lib
)没有任何作用.
and when I try
https://localhost/lib
( or https://localhost:443/lib
) nothing work.
有人可以帮我吗?
附注:-apache-tomcat-7.0.29
PS: -apache-tomcat-7.0.29
-jdk1.7.0_5
-jdk1.7.0_5
已修复!
迁移到 apache-tomcat-7.0.28 ((((
migrate to apache-tomcat-7.0.28 ((((
推荐答案
已修复!
迁移到 apache-tomcat-7.0.28 ((((
migrate to apache-tomcat-7.0.28 ((((
这篇关于tomcat无法建立ssl连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!