venf2k / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Certificate issue whilst running command [gcloud init] from centOS #709

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Issue running command [gcloud init].

What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below.

Trace:
Trace:
googlecloudsdk/gcloud_main.py:169
  [...]
 headers=headers)
googlecloudsdk/core/http.py:203
 return orig_request(*modified_args, **kw...
third_party/httplib2/__init__.py:1610
 (response, content) = self._request(conn...
third_party/httplib2/__init__.py:1352
 (response, content) = self._conn_request...
third_party/httplib2/__init__.py:1272
 conn.connect()
third_party/httplib2/__init__.py:1047
 'host %s: %s' % (hostname, cert), hostna...
CertificateHostnameMismatch: Server presented certificate that does not match 
host accounts.google.com: {'crlDistributionPoints': 
(u'http://gv.symcb.com/gv.crl',), 'subjectAltName': (('DNS', '*.com.com'), 
('DNS', 'com.com')), 'notBefore': u'May 21 09:55:12 2015 GMT', 'caIssuers': 
(u'http://gv.symcb.com/gv.crt',), 'OCSP': (u'http://gv.symcd.com',), 
'serialNumber': u'0491ED', 'notAfter': 'May 23 18:06:00 2018 GMT', 'version': 
3L, 'subject': ((('organizationalUnitName', u'GT08503494'),), 
(('organizationalUnitName', u'See www.rapidssl.com/resources/cps (c)15'),), 
(('organizationalUnitName', u'Domain Control Validated - RapidSSL(R)'),), 
(('commonName', u'*.com.com'),)), 'issuer': ((('countryName', u'US'),), 
(('organizationName', u'GeoTrust Inc.'),), (('commonName', u'RapidSSL SHA256 CA 
- G3'),))}
[output truncated]

Original issue reported on code.google.com by nubenetw...@gmail.com on 6 Apr 2016 at 4:58

GoogleCodeExporter commented 8 years ago
This is likely a real problem with your network: are you behind a captive 
portal or proxy?

What happens when you run `curl https://accounts.google.com/`? What about 
`python -c 'import urllib2; urllib2.urlopen("https://accounts.google.com/")'`?

Original comment by z...@google.com on 6 Apr 2016 at 5:13

GoogleCodeExporter commented 8 years ago
You are right, it's more a proxy issue and I workarounded by using the
--console-only flag.

Please close this ticket.

Thanks a lot for your support.

Original comment by nubenetw...@gmail.com on 7 Apr 2016 at 1:05

GoogleCodeExporter commented 8 years ago
Thanks for the update!

Original comment by z...@google.com on 7 Apr 2016 at 3:35