Keystore was tampered with, or password was incorr

主要是在配置https的时候碰到的错误。

plan1.删除那个已经生成的cacerts文件 目录:D:\java\jdk1.7.0_51\jre\lib\security

plan2.是在配置tomcat server.xml时候出错了,,

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
       maxThreads="150" scheme="https" secure="true"
       clientAuth="false" sslProtocol="TLS"
       keystoreFile="D:\tomcat.keystore"
       keystorePass="123456" /> 
<!-- 这里的keystorePass="123456" 需要跟你tomcat.keystore里面配置密码一致-->


你可能感兴趣的:(Keystore was tampered with, or password was incorr)