Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

httplib2.CertificateHostnameMismatch #1

Open
sionqi opened this issue Sep 16, 2014 · 2 comments
Open

httplib2.CertificateHostnameMismatch #1

sionqi opened this issue Sep 16, 2014 · 2 comments

Comments

@sionqi
Copy link

sionqi commented Sep 16, 2014

$ paster getauthtoken --config=../ckan/development.ini

httplib2.CertificateHostnameMismatch: Server presented certificate that does not match host accounts.google.com:
{'notAfter': 'Nov 25 00:00:00 2014 GMT', 'subjectAltName': (('DNS', '.googleapis.com'), ('DNS', '.cloudendpointsapis.com'), ('DNS', 'cloudendpointsapis.com'),
('DNS', 'googleapis.com')), 'subject': ((('countryName', u'US'),), (('stateOrProvinceName', u'California'),), (('localityName', u'Mountain View'),),
(('organizationName', u'Google Inc'),), (('commonName', u'*.googleapis.com'),))}

credentials.json

{
  "installed": {
    "client_id": "8655702269-1597khsvi2f2t8sdjgssspiaao111qpt.apps.googleusercontent.com",
    "client_secret": "ds_pvmxUkpFwwTEtn4e4NxV3",
    "redirect_uris": ["urn:ietf:wg:oauth:2.0:oob", "oob"],
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://accounts.google.com/o/oauth2/token"
  }
}
@sionqi
Copy link
Author

sionqi commented Sep 16, 2014

httplib2 version = 0.8

@davidread
Copy link
Contributor

I'd expect this error when you are on a public wifi network and the wifi provider is trying to redirect you to a login page.

Whatever, do try it again. I've much improved the instructions:
28ccc4f

deniszgonjanin pushed a commit to deniszgonjanin/ckanext-ga-report that referenced this issue Nov 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants