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

Unable to install plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins 2.263.1 on windows 10
      jdk 1.8.0_271

      I get the following errors when I tried to install plugins.

      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
      at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
      at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
      at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
      Caused: sun.security.validator.ValidatorException: PKIX path building failed
      at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
      at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
      at sun.security.validator.Validator.validate(Validator.java:271)
      at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:312)
      at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221)
      at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:128)
      at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:636)
      Caused: javax.net.ssl.SSLHandshakeException
      at sun.security.ssl.Alert.createSSLException(Alert.java:131)
      at sun.security.ssl.TransportContext.fatal(TransportContext.java:353)
      at sun.security.ssl.TransportContext.fatal(TransportContext.java:296)
      at sun.security.ssl.TransportContext.fatal(TransportContext.java:291)
      at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:652)
      at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:471)
      at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:367)
      at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:376)
      at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
      at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422)
      at sun.security.ssl.TransportContext.dispatch(TransportContext.java:183)
      at sun.security.ssl.SSLTransport.decode(SSLTransport.java:154)
      at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1279)
      at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1188)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)
      at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
      at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2739)
      at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2651)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1830)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
      at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
      at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:628)
      at java.net.URLConnection.getContentLengthLong(URLConnection.java:500)
      at java.net.URLConnection.getContentLength(URLConnection.java:484)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:412)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1264)
      Caused: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950)
      at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1280)
      Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/trilead-api/1.0.13/trilead-api.hpi to C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\trilead-api.jpi.tmp
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1287)
      Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/trilead-api/1.0.13/trilead-api.hpi (redirected to: https://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/plugins/trilead-api/1.0.13/trilead-api.hpi)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1321)
      at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1869)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2153)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:118)
      at java.lang.Thread.run(Thread.java:748)

            Unassigned Unassigned
            akshi95 Akshitha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: