Cloning via HTTPS fails because of server certificate verification failure.
Created by: jerrac
Every time I try to clone a repo over https, it fails. Says:
git clone https://git.tld/gitdeploy.git
Cloning into 'gitdeploy'...
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://git.tld/gitdeploy.git/info/refs
fatal: HTTP request failed
I've triple checked that I have ssl configured correctly on nginx, and as far as I can tell, it's fine. Am I missing a step there? I'm not sure what else to check.
Since SSH cloning works fine, I'm not too worried about this. But since the option is in the interface, I'd like it to work.
I'm running:
- Ubuntu 12.04 LTS server.
- nginx version 1.1.19
- Gitlab 5.1.0
- Gitlab-Shell 1.3.0
Any help is appreciated.