您的位置:首页 > 运维架构 > Tomcat

Tomcat 配置keystoreFile和keystorePass 启动异常解决

2014-03-16 16:48 591 查看
可能是根本版本有关系 我的版本是:apachetomcat6.0.39

错误配置:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="conf\.keystore" keystorePass="123456"/>


更改后的配置:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="conf\.keystore" keystorePass="123456"/>


访问的时候格式:
https://localhost:8443/ 
要加s
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: