[英]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.将提交推送到 Azure Devops 时出现此错误。
Error encountered while pushing to the remote repository: Git failed with a fatal error.
推送到远程存储库时遇到错误:Git 因致命错误而失败。 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
无法访问“ https://xx@dev.azure.com/xx/Lulo/_git/LuloBackend/ ”:SSL 证书问题:证书链中的自签名证书推送到https://xx@dev.azure.com/ x/Lulo/_git/Lulo后端
First I thought it was my company.network or firewall, so I switched to mobile data, but the error is the same.一开始我以为是我的company.network或者firewall,所以我切换到移动数据,但是错误是一样的。
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?第二件事是我最近更改了我的 Azure AD 帐户的密码,我是否必须在 GIT 设置中更改 Visual Studio 中的某些内容?
Thanks谢谢
According to the error message, you can use git config --global http.sslVerify false
to resolve the error.根据报错信息,可以使用
git config --global http.sslVerify false
解决错误。
In Visual Studio, go to Git Settings
and Set Cryptographic network provider
to Secure Channel
在 Visual Studio 中,go 到
Git Settings
并将Cryptographic network provider
设置为Secure Channel
I solved the issue on my machine by using Tools & Features... removing "Git for Windows".. and readding it.我通过使用工具和功能解决了我机器上的问题......删除“Git for Windows”......并阅读它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.