简体   繁体   English

Azure DEVOPS 中的 GIT 错误 - SSL 证书问题:证书链中的自签名证书推送

[英]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

Go to the Azure Git repository, click on "Clone". Go 到 Azure Git 存储库,单击“克隆”。 In the overlay screen, click on "Generate Git Credentials".在叠加屏幕中,单击“生成 Git 凭据”。 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.我通过使用工具和功能解决了我机器上的问题......删除“Git for Windows”......并阅读它。

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Git - “SSL证书问题:证书链中的自签名证书” - Git - “SSL certificate issue: self signed certificate in certificate chain” SSL 证书问题:证书链中的自签名证书 - SSL certificate problem: self signed certificate in certificate chain 我越来越无法克隆 git 致命存储库:'https://dev.azure.com SSL 证书问题:证书链中的自签名证书 - I am getting unable to clone git repository fatal: 'https://dev.azure.com SSL certificate problem: self signed certificate in certificate chain 与Jenkins的GIT失败,错误为“证书链中的自签名证书” - GIT with Jenkins failed with error “self signed certificate in certificate chain” 无法访问“https://github.com/user name/projectName.git/”:SSL 证书问题:证书链中的自签名证书 - unable to access 'https://github.com/user name/projectName.git/': SSL certificate problem: self signed certificate in certificate chain 如何解决 [curl: (60) SSL 证书问题:证书链中的自签名证书] - How to solve [curl: (60) SSL certificate problem: self signed certificate in certificate chain] Android Studio 到 BitBucket 推送错误 - 证书链中的自签名证书 - Android Studio to BitBucket push error - self signed certificate in certificate chain GitHub证书链中的自签名证书 - Self signed certificate in certificate chain with GitHub Eclipse Git自签名证书错误 - Eclipse Git self signed certificate error 如何让Git接受我自己签署的SSL证书? - How to get Git accept my self signed SSL certificate?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM