GIT error in Azure DEVOPS - SSL certificate problem: self signed certificate in certificate chain Pushing

Viewed 34473

When pushing a commit to Azure Devops I am getting this error.

Error encountered while pushing to the remote repository: Git failed with a fatal error. unable to access 'https://xx@dev.azure.com/xx/Lulo/_git/LuloBackend/': SSL certificate problem: self signed certificate in certificate chain Pushing to https://xx@dev.azure.com/x/Lulo/_git/LuloBackend

First I thought it was my company network or firewall, so I switched to mobile data, but the error is the same.

The 2nd thing is that I changed recently my password for my Azure AD Account, do I have to change something in Visual Studio in the GIT settings?

Thanks

4 Answers

In Visual Studio, go to Git Settings and Set Cryptographic network provider to Secure Channel

According to the error message, you can use git config --global http.sslVerify false to resolve the error.

I solved the issue on my machine by using Tools & Features... removing "Git for Windows".. and readding it.

enter image description here

Go to the Azure Git repository, click on "Clone". In the overlay screen, click on "Generate Git Credentials". This refreshes the credentials and solves the issue.enter image description here

Related