title: httplib2.CertificateHostnameMismatch in Google plus API
body: <p>I tried to use Google plus API to go through the OAuth2 process.</p>
  
  <p>I got the verifier and am going to exchange the access token, then the error occurred.</p>
  
  <pre><code>httplib2.CertificateHostnameMismatch: 
  
  Server presented certificate that does not match host accounts.google.com:
  </code></pre>
  
  <p>Server presented certificate that does not match host <strong>www.googleapis.com</strong></p>
  
  <p>Presented certificate(Common Name) is <strong>*.g.doubleclick.net</strong></p>
  
  <p>Why they are different??</p>
  
  <p>My code is like this:</p>
  
  <pre><code>from oauth2client.client import flow_from_clientsecrets
  
  CLIENT_SECRETS = 'client_secrets.json'
  
  MISSING_CLIENT_SECRETS_MESSAGE = ""
  
  FLOW = flow_from_clientsecrets(CLIENT_SECRETS,
      scope='https://www.googleapis.com/auth/plus.me',
      message=MISSING_CLIENT_SECRETS_MESSAGE)
  
      FLOW.step1_get_authorize_url() 
      # the url is outputted and 
      # my browser forward to it to get the verifier
  
      FLOW.step2_exchange(verifier) 
      # I paste the verifier and execute this line, then error occurred.
  </code></pre>
  
  <p>Any hint?</p>
  
  <p><strong>PS:</strong>
  my <code>urllib2</code> version is 0.7.2</p>