Reputation: 26897
I've signed up to the new azure trial. I have a project on github that I want to push to my new azure web site, so following the instructions on the azure site, I add the azure site as a new remote
:
git remote add azure https://[email protected]/app.git
git push azure master
When I push, I'm asked for my password, and then get:
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://[email protected]/app.git/info/refs
fatal: HTTP request failed
It's a vanilla git setup, so I've not set anything funky up. The only thing I've done is download and use github windows to work with the repo.
Update:
This seems to be something that is only affecting the North Europe
data centers..
Upvotes: 3
Views: 1396
Reputation: 38854
We're looking into this issue at the moment. I'll update this answer when everything is resolved.
EDIT
We had an issue with the certificate on some of our front ends and we restored them.
Upvotes: 1
Reputation: 1328642
You mention avoiding the issue with GIT_SSL_NO_VERIFY=true
, but that isn't the right solution.
SSL certificate problem, verify that the CA cert is OK
That means the ssl transaction has trouble finding and tructing the root CA (Certificate Authority) used by Windows Azure
All the trusted CAs are reference in Git by the setting http.sslcainfo
. Make sure you have:
git config –system http.sslcainfo /bin/curl-ca-bundle.crt
If that doesn't work, you can try and mention the full path:
git config --global http.sslcainfo "/c/Program Files (x86)/Git/bin/curl-ca-bundle.crt"
or:
git config --global http.sslcainfo "C:\Program Files(x86)\Git\Bin\curl-ca-bundle.crt"
If nothing works, then, as dfowler (Developer on the ASP.NET Team )'s answer suggests, there might be an issue with the CA chain being broken somehow (ie, incomplete on Azure's side):
Upvotes: 3