第一步是设置我创建的键位文件,第二步是相应地修改server.xml文件。第一部分工作成功。
server.xml所涉及的部分如下:
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<Connector SSLEnabled="true" acceptCount="100" clientAuth="false"
disableUploadTimeout="true" enableLookups="false" maxThreads="25"
port="8443" keystoreFile="/temp/keyplace" keystorePass="myPass"
protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https"
secure="true" sslProtocol="TLS"/>但是,当我尝试调用apache时,服务器尝试连接,但最终超时
感谢您的回复
发布于 2014-05-27 23:46:56
首先,检查密钥库是否正确设置。
查看您的配置文件,下面的命令应该告诉您证书是否已创建-temp keytool -list -keystore //keyplace
发布于 2014-05-28 14:59:22
它应该是keystoreFile="c:/temp/keyplace“而不是keyplace”/temp/keyplace“。
https://stackoverflow.com/questions/23892590
复制相似问题