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

Unable to install plugins

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Major Major
    • _unsorted
    • None
    • Jenkins 2.260
      Windows Server 2016 (64bit)
      Also installed jdk : C:\Program Files\Java\jdk-11.0.5
      Java_Home : C:\Program Files\Java\jre1.8.0_121\bin

      Browser : IE 11
      Chrome : Version 86.0.4240.111 (Official Build) (64-bit)

      When we try to install plugins , we get the error below.
       
      (X509TrustManagerImpl.java:129) at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:626) Caused: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
       
      We cannot seem to understand why it cannot pick up the certificate even though we did the import .
       
      = keytool -import -trustcacerts -Keystore "C:\program files\jenkins\cacertskeystore" -alias jenkins -file "C:\Program Files\Jenkins\jenkins.cer"
       
      Tried to run, C:\Program Files\Java\jre1.8.0_121\bin>java DJENKINS_HOME="C:\Program Files\Jenkins" -Djavax.net.ssl.trustStore="C:\program files\jenkins\cacertskeystore" -Djavax.net.ssl.trustStorePassword=password-provided-while-creating-keystore -jar "c:\program files\jenkins\jenkins.war" --httpPort=8080-httpListenAddress=localhost
      Running from: C:\Program Files\Jenkins\Jenkins.war

            Unassigned Unassigned
            chiefshole Seitshiro Shole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: