SSL: no alternative certificate subject name matches target host name

git拉取代码出现的问题:

fatal: unable to access 'http://gitlab.corp.ali.com/app/zhushou_Android.git/': SSL: no alternative certificate subject name matches target host name 'gitlab.corp.ali.com'
 

解决办法:(dns服务器改成自动的即可),主要问题根源是找不到远方的git地址