我正在使用configuration了Ubuntu 16.04的Google云计算机。 我有一个个人的github可以访问一个http url。 我试图克隆到我的本地Ubuntu机器的存储库,它的工作原理。 但是当涉及到Google云计算机时,会显示下面的错误。
fatal: unable to access 'https://example.com/root/myapp.git/': SSL: certificate subject name (american-securities.com) does not match target host name 'example.com'
有人可以帮我解决这个问题吗?
提前致谢。
最可能的原因是parsing不正确,所以域名不符合证书。
检查你的解决文件:
cat /etc/resolvconf/resolv.conf.d/{base,head} cat /etc/resolv.conf
尝试设置DNS服务器,如:
nameserver 8.8.8.8 nameserver 8.8.4.4
或者在本地机器上设置域名服务器。