添加对tomcat的https支持后。我无法运行应用程序
我的 web.xml 配置
<display-name>EBaySignin</display-name>
<welcome-file-list>
<welcome-file>credentials.jsp</welcome-file>
</welcome-file-list>
<security-constraint>
<web-resource-collection>
<web-resource-name>All Access</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
(Tomcat)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 port="8443" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="/Users/ArunAbraham/.keystore" keystorePass="password"
protocol="org.apache.coyote.http11.Http11NioProtocol"
clientAuth="false" sslProtocol="TLS" />
现在我无法访问该应用程序,我收到一个错误:无法连接到服务器。我会错过什么?("https://localhost:8443/EBaySignin/")