当前位置:   article > 正文

TOMCAT SSL配置_tomcat keystorefile=

tomcat keystorefile=

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Li_阴宅/article/detail/885275
推荐阅读
相关标签
  

闽ICP备14008679号