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

Root CAs component appears broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • support-core-plugin
    • None
    • core 2.89.4
      support-core 2.44
      Java 1.8.0_121

      It looks the component just tries to list an uninitialized KeyStore which results in:

      java.security.KeyStoreException: Uninitialized keystore
      	at java.security.KeyStore.aliases(KeyStore.java:1233)
      	at com.cloudbees.jenkins.support.impl.RootCAs.getRootCAList(RootCAs.java:149)
      	at com.cloudbees.jenkins.support.impl.RootCAs$GetRootCA.call(RootCAs.java:132)
      	at com.cloudbees.jenkins.support.impl.RootCAs$GetRootCA.call(RootCAs.java:125)
      	at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
      	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      For reference on how to do it:
      https://stackoverflow.com/questions/8884831/listing-certificates-in-jvm-trust-store
      https://github.com/jenkinsci/jenkins-scripts/pull/82/files

            duemir Denys Digtiar
            duemir Denys Digtiar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: