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

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

XMLWordPrintable

    • 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

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

              Created:
              Updated: