- tomcat8
- JavaEE 7
- ServerEndpoint
keytool -genkey -alias tomcat -keyalg RSA -keystore F:\tomcat.keystore -validity 36500
- tomcat server.xml配置
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="F:/tomcat.keystore" keystorePass="密码"/>