While using git with https, sometimes, in someplace, I encounter like this error:
Initialized empty Git repository in /xxxx/xxxx/.git/ Password: error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://firstname.lastname@example.org/xxxx/xxxx.git/info/refs fatal: HTTP request failed
It might be a bug from Ubuntu’s git, but I’m not sure at this time.
For workaround of it, set GIT_SSL_NO_VERIFY=1 in environment variables in the shell.