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
Hope this helps!
Please Let me know if you have any queries.