文章类型: ANDROID
关键词: Java.security.UnrecoverableKeyException:,Cannot,recover,key
内容摘要: Java.security.UnrecoverableKeyException: Cannot recover key

Java.security.UnrecoverableKeyException: Cannot recover key

2017/4/24 14:26:42    来源:apple    阅读:

Java.security.UnrecoverableKeyException: Cannot recover key


在tomcat配置https的过程中如果出现:Java.security.UnrecoverableKeyException: Cannot recover key 错误,一般是keystore密码与key密码不一致造成的,查看tomcat官网描述如下:


Finally, you will be prompted for the key password, which is the password specifically for this Certificate (as opposed to any other Certificates stored in the same keystore file). The keytool prompt will tell you that pressing the ENTER key automatically uses the same password for the key as the keystore. You are free to use the same password or to select a custom one. If you select a different password to the keystore password, you will also need to specify the custom password in the server.xml configuration file.

注意其中的If you select a different password to the keystore password, you will also need to specify the custom password in the server.xml configuration file.这最后一句。 

但是文档中并没有说明该参数是什么。。。 

但是幸运的是猜出来了。。。 

就是keyPass。。。 

附官网链接 http://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html

↑ 上一篇文章:查看并修改签名证书keystore的密码,alias别名等相关参数 关键词:查看并修改签名证书keystore的密码,alias别名.. 发布日期:2017/4/24 14:25:15
↓ 下一篇文章:The connection to adb is down, and a severe error has occured. 关键词:The,connection,to,adb,is,dow.. 发布日期:2017/5/4 18:08:47
相关文章:
Android 修改Android签名证书keystore的密码、别名alias以及别名的密码 关键词:Android,修改Android签名证书keystore的密码、别名alias以及别名的密码 发布日期:2017-04-24 14:18
C#的WinForm中回车键事件写法 关键词:C#,Winform,回车键,enter,事件,写法,KeyCode,KeyValue,13 发布日期:2016-01-26 21:05
VC,C++,6.0,debug,断点,调试,出现,One or more breakpoints cannot be set and have been disabled,不能,调试,问题 关键词:VC++6.0,debug断点调试时出现One,or,more,breakpoints,cann.. 发布日期:2019-05-06 16:28
相关目录:.NETANDROIDJAVA软件开发
我要评论
正在加载评论信息......