我无法与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。
"107 (net::ERR_SSL_PROTOCOL_ERROR"
>keytool -genkey -alias tomcat -keyalg RSA -keystore mystore -validity 999 -keysize 512
也在我的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时,存在以下字符串:
INFO: Starting ProtocolHandler ["http-bio-443"] сен 05, 2012 9:00:29 AM org.apache.coyote.AbstractProtocol start
当我尝试 https://localhost/lib(或https://localhost:443/lib)时没有任何作用。
https://localhost/lib
https://localhost:443/lib
有人可以帮我吗?
PS:-apache-tomcat-7.0.29
-jdk1.7.0_5
固定!
迁移到apache-tomcat-7.0.28((((