certificate issued for a different hostname, issuer is not trusted

Svn: not configured

Svn中报错 svn: not configured,总是弹框:[Authentication Required], 需要填写:[path to certificate] 和 [certificate passphrase]

碰到这种情况,点取消,然后菜单栏中点击 file --> setting --> Version Control --> subversion --> Clear Auth Cache

certificate issued for a different hostname, issuer is not trusted

接上面,清除缓存一时爽,清完之后从头来。清除完了,得重新拉一下代码,但是这个之后你拉代码可能会报如下错:

svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

这个时候可能得重新弄下svn的证书问题了。解决办法如下:

在工作目录下,打开终端,输入如下:
svn ls ***, *** :是你的项目地址, 还是看图吧。

这一步配置好,然后再去重新按照前面说的拉去下代码就行了,这个时候会验证你的身份,输入用户密码即可。(打码也是随意哦。。。)

当然上述错误也有可能是其他情况引起的:

  • svn地址配置的不正确,请仔细检查自己连接的远程仓库地址是否正确
  • 你的账号密码可能不正确,请重新确认
原文地址:https://www.cnblogs.com/cirry/p/13566235.html