Git, Curl, Apache, OpenSSL and HTTPS / by Roger Kapsi

Is your Git (or Curl) failing with the following error if you're trying to access a HTTPS URL?
error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
Chances are your Apache "ServerName" config is different (e.g. localhost) from what's defined in your SSL certificate (e.g. mycompany.com).