您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> Java >> AIX上tomcat配置ssl登录https//:localhost:8443连接被中断

AIX上tomcat配置ssl登录https//:localhost:8443连接被中断

来源:网络整理     时间:2016/7/4 5:08:22     关键词:

关于网友提出的“ AIX上tomcat配置ssl登录https//:localhost:8443连接被中断”问题疑问,本网通过在网上对“ AIX上tomcat配置ssl登录https//:localhost:8443连接被中断”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: AIX上tomcat配置ssl登录https//:localhost:8443连接被中断
描述:

证书生成命令:
keytool -genkey -keyalg RSA -alias tomcat -dname "cn=www.***.com"  -keystore /usr/java5_64/tomcat.keystore -storepass changeit
keytool -export -alias tomcat -file /usr/java5_64/jre/lib/security/tomcat .crt -storepass changeit -keystore  /usr/java5_64/tomcat .keystore
keytool -import -alias tomcat -file /usr/java5_64/jre/lib/security/tomcat .crt -keystore /usr/java5_64/jre/lib/security/cacerts -storepass changeit 
tomcat的server.xml的ssl配置
 <>
           port="8443" minSpareThreads="5" maxSpareThreads="75"
           enableLookups="true" disableUploadTimeout="true"
           acceptCount="100"  maxThreads="200"  algorithm="IbmX509"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="/usr/java5_64/tomcat.keystore" keystorePass="changeit"
           clientAuth="false" sslProtocol="SSL"/>
# echo $JAVA_HOME
/usr/java5_64
端口8443未被占用。
载入页面时到 www.***.com:8443 的连接被中断。
同样的命令和配置在其他服务器可以正常使用...
我在网上查资料总结应该是服务器不能验证用户的安全证书,所以服务器中断了连接,但是我找不到原因在哪?请高手指教


以上介绍了“ AIX上tomcat配置ssl登录https//:localhost:8443连接被中断”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/2265059.html

相关图片

相关文章