Azure DevOps

ZTS 40 Reputation points
2025-07-24T07:37:30.7133333+00:00

##[section]Starting: Checkout

==============================================================================

Task         : Get sources

Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

Version      : 1.0.0

Author       : Microsoft

Help         : [More Information]](https://go.microsoft.com/fwlink/?LinkId=798199)"https://go.microsoft.com/fwlink/?linkid=798199)")

==============================================================================

Syncing repository: API_Platform-edi-mulesoft-api-sys (Git)

Prepending Path environment variable with directory containing 'git.exe'.

##[command]git version

git version 2.21.0.windows.1

##[command]git config --get remote.origin.url

##[command]git config gc.auto 0

##[command]git config --get-all http.https://team-test.com

##[command]git config --get-all http.proxy

##[command]git -c http.extraheader="AUTHORIZATION: bearer ***" fetch --force --tags --prune --progress --no-recurse-submodules origin

fatal: unable to access 'https://team-test..com/': SSL certificate problem: self signed certificate in certificate chain

##[warning]Git fetch failed with exit code 128, back off 5.059 seconds before retry.

##[command]git -c http.extraheader="AUTHORIZATION: bearer ***" fetch --force --tags --prune --progress --no-recurse-submodules origin

fatal: unable to access 'https://team-test.com': SSL certificate problem: self signed certificate in certificate chain

##[warning]Git fetch failed with exit code 128, back off 2.993 seconds before retry.

##[command]git -c http.extraheader="AUTHORIZATION: bearer ***" fetch --force --tags --prune --progress --no-recurse-submodules origin

fatal: unable to access 'https://team-t.com SSL certificate problem: self signed certificate in certificate chain

##[error]Git fetch failed with exit code: 128

##[section]Finishing: Checkout

Azure DevOps
{count} votes

1 answer

Sort by: Most helpful
  1. Durga Reshma Malthi 9,840 Reputation points Microsoft External Staff Moderator
    2025-07-25T08:35:34.84+00:00

    Hi ZTS

    Could you please provide the response for the above question

    Meanwhile, check the below steps:

    The error message seems that Git is unable to access the repository due to an SSL certificate issue.

    • If you have a self-signed certificate, you need to add it to the trusted certificates on the machine running the build pipeline via certmgr.msc.
    • If you are on a Linux system, you may need to update your CA certificates by running the below command:
        sudo update-ca-certificates
      
    • If you cannot add the certificate to the trusted store, you can configure Git to trust the self-signed certificate directly by using the below command:
        git config --global http.sslCAInfo /path/to/your/certificate.crt
      
    • According to the error message, you can use git config --global http.sslVerify false to resolve the error. But this is not recommended.

    Refer to this stackoverflow - https://stackoverflow.com/questions/67976050/ssl-certificate-problem-unable-to-get-local-issuer-certificate-azure-devops

    Additional References:

    https://github.com/microsoft/azure-pipelines-tasks/issues/11508

    https://stackoverflow.com/questions/58522318/git-error-in-azure-devops-ssl-certificate-problem-self-signed-certificate-in

    Hope this helps!

    Please Let me know if you have any queries.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.