1. 先用如下命令生成tomcat 证书 cls rem please set the env JAVA_HOME before run this bat file SET JAVA_HOME=C:\Programs\Java\jdk1..0_51 SET PATH=%PATH%;%JAVA_HOME%/bin rem delete alias tomcat if it is existed keytool -delete -alias tomcatsso -keystore %JAVA_HOM