10
votes

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://[email protected]/xx/Lulo/_git/LuloBackend/': SSL certificate problem: self signed certificate in certificate chain Pushing to https://[email protected]/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

2
You can try to use git config --global http.sslVerify false to resolve the issue.Frank Wang-MSFT
Hi, how the things going? Does the below command could help you achieve what you want? If yes, you can accept the answer thus other SO users will be able to see whether the solution works. If you still facing some issues, feel free to leave comment here :-)Frank Wang-MSFT

2 Answers

21
votes

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

19
votes

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