I’ve got some bitbucket repositories which I wanted to access with a MacBook Pro. To access my Git repositories I had to disable certificate checking to be able to clone them:
git config --global http.sslVerify false
I couldn’t find another proper way to do this. See HTTPS gibhub access – Stackoverflow
To clone mercurial repositories I had to add hostfingerprints configuration and a dummy cacerts certificate. See: Continue operation on failed certificate verification – Atlassian Answers
My .hgrc file:
[web] cacerts = /etc/hg-dummy-cert.pem [hostfingerprints] bitbucket.org = 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b