I have previously configured SSL in Tomcat, and then I rebuilt a keystore file, and of course the password is different from the previous one.
So when I configure the new KeyStore and start Tomcat from Eclipse, the console complains.
severe:failed to load KeyStore type JKS with path
C:\keystore due to KeyStore is tampered with, or password is Inco Rrect
Java.io.IOException:Keystore is tampered with, or password is incorrect at
Sun.security.provider.JavaKeyStore.engineLoad (javakeystore.java:771) at
sun.security.provider.javakeystore$ Jks.engineload (javakeystore.java:38) at
java.security.KeyStore.load (keystore.java:1185)
//...
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289) at
Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
caused by: Java.security.UnrecoverableKeyException:Password verification failed at
Sun.security.provider.JavaKeyStore.engineLoad (javakeystore.java:769) ...
More
Solution:
Enter Directory d:\...\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf
Replaces the server.xml of the current directory with the new Tomcat configuration file Server.xml.
Restart Tomcat and it's OK.