【问题标题】:certificatehostnamemismatch while installing google cloud SDK?安装谷歌云SDK时证书主机名不匹配?
【发布时间】:2017-09-04 00:54:40
【问题描述】:

我在安装谷歌云 SDK 时遇到了认证主机名不匹配错误。错误信息如下所示:

.... httplib2.certificatehostnamemismatch: server presented certificate that does not match host dl.google.com ....

有人知道怎么解决吗?

【问题讨论】:

    标签: httplib2 google-cloud-sdk


    【解决方案1】:

    我在网上搜索了一下,发现可能有几个原因:

    1. python 版本
    2. 主机文件

    我检查了我的环境,发现为了方便访问google网站,host文件被更改了。所以我删除了主机文件。现在一切正常。

    【讨论】:

      猜你喜欢
      • 2013-01-18
      • 2016-12-27
      • 2021-02-12
      • 2018-11-14
      • 2018-06-18
      • 1970-01-01
      • 2015-04-30
      • 1970-01-01
      • 2020-04-10
      相关资源
      最近更新 更多