Tomcat SSL端口8443没有响应
我有一个带有域名和证书的服务器。我需要在https上运行我的tomcat8服务器,以便使用证书生成一个pfx文件Tomcat SSL端口8443没有响应,tomcat,ssl,https,Tomcat,Ssl,Https,我有一个带有域名和证书的服务器。我需要在https上运行我的tomcat8服务器,以便使用证书生成一个pfx文件 openssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -password pass:******* 然后在my/tomcat/conf/server.xml中添加: <Connector protocol="org.apache.c
openssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -password pass:*******
然后在my/tomcat/conf/server.xml中添加:
<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol" port="8443"
keyAlias="tomcat"
maxThreads="200" scheme="https" secure="true" SSLEnabled="true"
keystoreType="PKCS12"
keystoreFile="/etc/letsencrypt/live/www.internetsbh.com/bundle.pfx"
keystorePass="*******"
clientAuth="false" sslProtocol="TLS"
/>
当我访问internetsbh.com:8443时,它会永远运行,或者会显示这样的信息:需要很长时间才能响应
我有什么遗漏吗?我还尝试使用.jks代替pfx,但得到了相同的结果
谢谢 另一个解决类似问题的问题(也是一个不错的清单): 我不知道上面提到的这个神秘的熵问题,但可以肯定的是,如果您没有为keystrefile和truststoreFile指定正确的路径,tomcat可能会在进程开始时显示错误,但会继续加载,从而导致无响应而没有进一步的错误。当对密钥库文件的访问权限不正确时,也可能会出现问题
当然,-Djavax.net.debug=all有助于解决另一个类似问题(也是一个不错的清单): 我不知道上面提到的这个神秘的熵问题,但可以肯定的是,如果您没有为keystrefile和truststoreFile指定正确的路径,tomcat可能会在进程开始时显示错误,但会继续加载,从而导致无响应而没有进一步的错误。当对密钥库文件的访问权限不正确时,也可能会出现问题
当然,-Djavax.net.debug=all help我想我这里也有同样的问题。你找到解决办法了吗?先打开catalina tomcat logI,我想我这里也有同样的问题。找到解决方案了吗?首先打开catalina tomcat日志