我阅读了很多关于如何配置 tomcat 以使用 ssl 的教程。
我在 http://localhost:8080 和 http://localhost:8443 中访问我的应用程序,但我无法在 https 中访问://localhost:8443.
我使用了 apache HOWTO .
文件 key.keystore 有效,因为它在 Jboss 的其他应用程序中使用。
下面是 server.xml 配置中的新连接器。
<Connector
port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
acceptCount="100"
SSLEnable="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="C:/ambiente/server/tomcat/Tomcat6.0/conf/key.keystore" keystorePass="xxxx" />
问题是什么?
感谢您的帮助。
最佳答案
尝试一下 SSLEnabled="true"scheme="https"secure="true"
关于security - Tomcat 6 和 SSL 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14324122/