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

There were errors checking the update sites: SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

      Hello Team,

       

      We are currently facing issue while upgrading the plugins. We are getting below SSL handshake error.

       

      There were errors checking the update sites: SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

       

      Current version of jenkins is __ 

      <version>2.289.2</version>

       

      Current version of java on system is

      openjdk version "11.0.12" 2021-07-20 LTS
      OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)
      OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)

       

      Below is JDK configuration from jenkins config.xml

       

      <jdks>
      <jdk>
      <name>java 8</name>
      <home>/usr/lib/jvm/java-1.8.0-openjdk/</home>
      <properties/>
      </jdk>
      </jdks>

       

      Can someone help me to understand why this error is popping? We are using quite latest version jenkins and java but still it is failing to validate. 

       

      Seeking help to resolve this issue.

       

      Thanks and Regards,

      Sagar Nachare.

       

          [JENKINS-66788] There were errors checking the update sites: SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

          Sagar created issue -
          Sagar made changes -
          Description Original: Hello Team,

           

          We are currently facing issue while upgrading the plugins. We are getting below error.

           

          _*There were errors checking the update sites: SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target*_

           

          Current version of jenkins is *__* 

           *_<version>2.289.2</version>_*

           

          Current version of java on system is

          *_openjdk version "11.0.12" 2021-07-20 LTS_*
          *_OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)_*
          *_OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)_*

           

          Below is JDK configuration from jenkins config.xml

           

          *_<jdks>_*
           *_<jdk>_*
           *_<name>java 8</name>_*
           *_<home>/usr/lib/jvm/java-1.8.0-openjdk/</home>_*
           *_<properties/>_*
           *_</jdk>_*
           *_</jdks>_*

           

          Can you please help us why this error is popping? We are unable to download/update plugins now.

           

          Thanks and Regards,

          Sagar Nachare.

           
          New: Hello Team,

           

          We are currently facing issue while upgrading the plugins. We are getting below SSL handshake error.

           

          _*There were errors checking the update sites: SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target*_

           

          Current version of jenkins is *__* 

          *_<version>2.289.2</version>_*

           

          Current version of java on system is

          *_openjdk version "11.0.12" 2021-07-20 LTS_*
           *_OpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)_*
           *_OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)_*

           

          Below is JDK configuration from jenkins config.xml

           

          *_<jdks>_*
           *_<jdk>_*
           *_<name>java 8</name>_*
           *_<home>/usr/lib/jvm/java-1.8.0-openjdk/</home>_*
           *_<properties/>_*
           *_</jdk>_*
           *_</jdks>_*

           

          Can someone help me to understand why this error is popping? We are using quite latest version jenkins and java but still it is failing to validate. 

           

          Seeking help to resolve this issue.

           

          Thanks and Regards,

          Sagar Nachare.

           
          Marcus Collins made changes -
          Attachment New: image-2022-06-21-10-50-44-660.png [ 58236 ]
          Marcus Collins made changes -
          Attachment New: image-2022-06-21-10-51-55-382.png [ 58237 ]
          Marcus Collins made changes -
          Attachment New: JenkinsUpdate_SSL.zip [ 58238 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Help desk 3017 to track the question through the infra team (Web Link)" [ 27855 ]
          Mark Waite made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            sagar_nachare Sagar
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: