[英]Can't push github project to azure with git
我已经签署了新的天蓝色试验。 我在github上有一个项目,我想推送到我的新azure网站,所以按照azure网站上的说明,我将azure网站添加为新的remote
:
git remote add azure https://me@app.scm.azurewebsites.net/app.git
git push azure master
当我推,我被要求输入密码,然后得到:
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile
d while accessing https://me@app.scm.azurewebsites.net/app.git/info/refs
fatal: HTTP request failed
这是一个香草git设置,所以我没有设置任何时髦的东西。 我唯一做的就是下载并使用github windows来处理repo。
更新:
这似乎只是影响North Europe
数据中心的事情。
你提到避免GIT_SSL_NO_VERIFY=true
的问题,但这不是正确的解决方案。
SSL certificate problem, verify that the CA cert is OK
这意味着ssl事务很难找到并修改Windows Azure使用的根CA(证书颁发机构)
所有受信任的CA都通过设置http.sslcainfo
在Git中引用。 确保你有:
git config –system http.sslcainfo /bin/curl-ca-bundle.crt
如果这不起作用,您可以尝试提及完整路径:
git config --global http.sslcainfo "/c/Program Files (x86)/Git/bin/curl-ca-bundle.crt"
要么:
git config --global http.sslcainfo "C:\Program Files(x86)\Git\Bin\curl-ca-bundle.crt"
如果没有任何作用,那么,正如dfowler(ASP.NET团队的开发人员)的回答所暗示的那样,可能存在CA链被某种方式破坏的问题(即,在Azure方面不完整):
我们目前正在研究这个问题。 一切都解决了,我会更新这个答案。
编辑
我们的一些前端证书存在问题,我们将其恢复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.