简体   繁体   中英

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

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

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

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

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. 在此处输入图像描述

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM