title: SSL Error Certificate subject name does not match target host for github.com
body: <p>I'm trying to access github's repositories using <code>git fetch</code> but I'm getting this error:</p>
  
  <pre><code>error: SSL: certificate subject name (*.opendns.com) does not match target host name 'github.com' while accessing https://github.com/&lt;repo name&gt;
  </code></pre>
  
  <p>This happened earlier this afternoon very suddenly, and it didn't go away. I thought it might be a problem with Github rejecting older versions of OpenSSL. </p>
  
  <p>I am running Ubuntu 11.04 (Natty Narwhal), Git 1.7.4.1, and
  <code>openssl version -a</code> gives this:</p>
  
  <pre><code>OpenSSL 0.9.8o 01 Jun 2010
  built on: Tue May 22 23:20:32 UTC 2012
  platform: debian-i386
  options:  bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) 
  compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -
  DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall
  OPENSSLDIR: "/usr/lib/ssl"
  </code></pre>
  
  <p>Any help would be greatly appreciated! </p>
  
  <p><strong>UPDATE 5/1/2014:</strong> </p>
  
  <p>Ended up updating Ubuntu to solve this issue. Read somewhere that that is the most secure solution since both my local machine and Github's servers will be as up-to-date with each other as possible.</p>