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

error "abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • mercurial-plugin
    • Windows

      We have setup integration between Jenkins 2.46.3 with Mercurial and we created a jobs to pull the source code from mercurial.when we are trying to build the job it failing with below error.
      Started by user
      anonymous
      Building in workspace C:\Program Files (x86)\Jenkins\jobs\test\workspace
      $ "C:\Program Files\THG\hg.exe" --debug --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" clone --rev default --noupdate
      https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM
      "C:\Program Files (x86)\Jenkins\jobs\test\workspace"
      using
      https://XXXXX.com/hg/ISS/XXX/SOA/SOA_CM
      http auth: user XYZ, password ************
      sending capabilities command
      using auth.jenkins.* for authentication
      (the full certificate chain may not be available locally; see "hg help debugssl")
      abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
      ERROR: Failed to clone
      https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM
      ERROR: Failed to clone
      https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM
      Finished: FAILURE

      We have server certicate added in mercurial.ini file

          [JENKINS-46212] error "abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)"

          baji SHAIK created issue -
          baji SHAIK made changes -
          Description Original: We have setup integration between Jenkins 2.46.3 with Mercurial and we created a jobs to pull the source code from mercurial.when we are trying to build the job it failing with below error.
          Started by user
          [anonymous|http://localhost:8888/user/null]
          Building in workspace C:\Program Files (x86)\Jenkins\jobs\test\workspace
          $ "C:\Program Files\THG\hg.exe" --debug --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" clone --rev default --noupdate
          [https://bshaik@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
           "C:\Program Files (x86)\Jenkins\jobs\test\workspace"
          using
          [https://vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
          http auth: user bshaik, password ************
          sending capabilities command
          using auth.jenkins.* for authentication
          (the full certificate chain may not be available locally; see "hg help debugssl")
          abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
          ERROR: Failed to clone
          [https://bshaik@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
          ERROR: Failed to clone
          [https://bshaik@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
          Finished: FAILURE


          We have server certicate added in mercurial.ini file
          New: We have setup integration between Jenkins 2.46.3 with Mercurial and we created a jobs to pull the source code from mercurial.when we are trying to build the job it failing with below error.
           Started by user
           [anonymous|http://localhost:8888/user/null]
           Building in workspace C:\Program Files (x86)\Jenkins\jobs\test\workspace
           $ "C:\Program Files\THG\hg.exe" --debug --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" clone --rev default --noupdate
           [https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
           "C:\Program Files (x86)\Jenkins\jobs\test\workspace"
           using
           [https://XXXXX.com/hg/ISS/XXX/SOA/SOA_CM|https://vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
           http auth: user XYZ, password ************
           sending capabilities command
           using auth.jenkins.* for authentication
           (the full certificate chain may not be available locally; see "hg help debugssl")
           abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
           ERROR: Failed to clone
           [https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
           ERROR: Failed to clone
           [https://XYZ@XXXXX.com/hg/ISS/XXX/SOA/SOA_CM|https://bshaik:Sharima_1978@vge1hg.gemalto.com/hg/ISS/Global-ERP/SOA/SOA_CM]
           Finished: FAILURE

          We have server certicate added in mercurial.ini file

            Unassigned Unassigned
            bshaik baji SHAIK
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: