更改密钥库密码后无法启动jenkins

时间:2016-08-05 02:10:33

标签: jenkins

我今天将密钥库密码更改为更安全的密码,我无法重新启动jenkins。该日志有以下错误:

SEVERE: Container startup failed
java.io.IOException: Failed to start a listener: winstone.HttpsConnectorFactory
        at winstone.Launcher.spawnListener(Launcher.java:207)
        at winstone.Launcher.<init>(Launcher.java:149)
        at winstone.Launcher.main(Launcher.java:352)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at Main._main(Main.java:246)
        at Main.main(Main.java:91)
Caused by: winstone.WinstoneException: Error getting the SSL context object
        at winstone.HttpsConnectorFactory.getSSLContext(HttpsConnectorFactory.java:241)
        at winstone.HttpsConnectorFactory.createConnector(HttpsConnectorFactory.java:131)
        at winstone.HttpsConnectorFactory.start(HttpsConnectorFactory.java:116)
        at winstone.Launcher.spawnListener(Launcher.java:205)
        ... 8 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
        at sun.security.provider.KeyProtector.recover(KeyProtector.java:328)
        at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:146)
        at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:56)
        at sun.security.provider.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:96)
        at sun.security.provider.JavaKeyStore$DualFormatJKS.engineGetKey(JavaKeyStore.java:70)
        at java.security.KeyStore.getKey(KeyStore.java:1023)
        at sun.security.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:133)
        at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
        at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
        at winstone.HttpsConnectorFactory.getSSLContext(HttpsConnectorFactory.java:210)

我假设密码存储在某处,现在他们没有jive ...

1 个答案:

答案 0 :(得分:0)

当我使用3d派对实用程序组合几个证书并更改密码时,结果发现了一些搞砸了密钥库的东西。我清理了所有这些,一切都很好。

相关问题