HTTP 403, Tomcat configures HTTPS, unable to access, return status code HTTP 403
•
Java
In order to access the application started by the local machine (Windows system) in the form of HTTPS, after generating the certificate by keytool, modify the configuration in Tomcat's server.xml as follows:
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Develop/apache-tomcat-7.0.42/tomcat.keystore"
keystorePass="xxxxxx" />
Cannot access after startup. White page, status code: http 403
In fact, port 443 is occupied. Just close the process occupying port 443. The closing method is shown here: http://www.cnblogs.com/demingblog/p/7880517.html
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码