Forum Discussion
SSL certificate problem while doing GIT pull from Azure Devops Repos
We are using a proxy server that does SSL inspection of traffic and thus replaces the cert with the one that it issues in the process. That cert is issued by the cert authority on the proxy itself. This is fairly common with modern proxies.
But users are getting following error while doing Git pull:-
"git pull fatal: unable to access 'https://ausgov.visualstudio.com/Project/_git/Repo': SSL Certificate problem: self-signed certificate in certificate chain"
Do I need to import the proxy CA issuing cert in Devops portal somewhere to resolve this or does the SSL inspection needs to be removed?
Has anybody got it to work with proxy inspection still turned on?
1 Reply
How about using Windows Certificate Store
git config --global http.sslBackend schannel
This tells Git to trust certificates that Windows trusts — including your proxy’s CA if it’s already installed in the system store.