赞
踩
1. run from command : %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
note: The default password used by Tomcat is "changeit"
2. if successful , create a new file named ".keystore" under C:\Users\[your user name]
3. uncomment the SSL connector in server.xml :
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="${user.home}/.keystore" keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" />
4. open URL https://localhost:8443
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。