Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66368

After upgrade to CentOS 7 jenkins-2.306-1.1 Jenkins fails to start - keystore access error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • packaging
    • None
    • CentOS Linux release 7.9.2009 (Core)
      java-1.8.0-openjdk-1.8.0.292.b10-1.el7_9.x86_64
      javapackages-tools-3.4.1-11.el7.noarch
      java-1.8.0-openjdk-headless-1.8.0.292.b10-1.el7_9.x86_64

      Upgrading to the latest release of the Jenkins RPM jenkins-2.306-1.1.noarch appears to be broken on my CentOS 7 server. 

      I get the error below in my jenkins.log file.

      when I use yum to downgrade to the previous release jenkins-2.305-1.1.noarch then all is fine.

      Please can you investigate?

       

      CentOS Linux release 7.9.2009 (Core)

      java-1.8.0-openjdk-1.8.0.292.b10-1.el7_9.x86_64
      javapackages-tools-3.4.1-11.el7.noarch
      java-1.8.0-openjdk-headless-1.8.0.292.b10-1.el7_9.x86_64

       

      ```

      java.io.IOException: Failed to start a listener: winstone.HttpsConnectorFactory
      at winstone.Launcher.spawnListener(Launcher.java:226)
      at winstone.Launcher.<init>(Launcher.java:180)
      at winstone.Launcher.main(Launcher.java:369)
      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:375)
      at Main.main(Main.java:151)
      Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792)
      at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57)
      at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
      at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71)
      at java.security.KeyStore.load(KeyStore.java:1445)
      at winstone.AbstractSecuredConnectorFactory.configureSsl(AbstractSecuredConnectorFactory.java:73)
      at winstone.HttpsConnectorFactory.start(HttpsConnectorFactory.java:53)
      at winstone.Launcher.spawnListener(Launcher.java:220)
      ... 8 more
      Caused by: java.security.UnrecoverableKeyException: Password verification failed
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:790)
      ... 15 more
      2021-08-13 08:58:00.102+0000 [id=1] SEVERE winstone.Logger#logInternal: Container startup failed
      java.security.UnrecoverableKeyException: Password verification failed
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:790)
      Caused: java.io.IOException: Keystore was tampered with, or password was incorrect
      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:792)
      at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57)
      at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
      at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71)
      at java.security.KeyStore.load(KeyStore.java:1445)
      at winstone.AbstractSecuredConnectorFactory.configureSsl(AbstractSecuredConnectorFactory.java:73)
      at winstone.HttpsConnectorFactory.start(HttpsConnectorFactory.java:53)
      at winstone.Launcher.spawnListener(Launcher.java:220)
      Caused: java.io.IOException: Failed to start a listener: winstone.HttpsConnectorFactory
      at winstone.Launcher.spawnListener(Launcher.java:226)
      at winstone.Launcher.<init>(Launcher.java:180)
      at winstone.Launcher.main(Launcher.java:369)
      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:375)
      at Main.main(Main.java:151)
      Running from: /usr/lib/jenkins/jenkins.war

      ```

            basil Basil Crow
            marksonghurst Mark
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: