导出证书报错,请做过的来看看!
在做tomcat用CAS做单点登录(SSO)的时候,用keytools --genkey 生成了证书,但导出证书的时候报错:
[root@APP1 conf]# keytool -export -file APP1.cet -alias APP1 -keystore .keystore
Enter keystore password: 123456
keytool error:
java.io.IOException: Keystore was tampered with, or password was incorrect
那位知道是什么回事,谢谢!
------解决方案--------------------用密码changeit试试 或者-storepass changeit