Mac下idea 更新SVN出現certificate issued for a different hostname問題解決

在mac下使用svn,沒有烏龜的陪伴很痛苦,在idea中首次更新svn會報如下錯誤。

subversion error options of ‘https://你的svn地址’: Server certificate verification faild: certificate issued for a different hostname, issuer is not trusted(https://你的svn地址/

解決辦法:

1 打開終端(command+space),在終端中輸入如下命令:
svn ls https://你的svn地址

2 會出現一個服務器證書的提示,根據提示輸入 “p”,然後回車,輸入自己的svn賬號。就Ok了。

tips:

如果你的svn地址輸入的和idea項目的svn地址不一樣,你點更新會出現如下提示。

Error:svn: E155025: 'svn switch' does not support switching a working copy to a different repository
svn: E155025: '你的svn地址1'
is not the same repository as
'https://你的svn地址2' 

出現這種情況在執行下上面的命令,將不會提示你輸入密碼了。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章