certificate issued for a different hostname, issuer is not trusted
阿新 • • 發佈:2020-08-26
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地址配置的不正確,請仔細檢查自己連線的遠端倉庫地址是否正確
- 你的賬號密碼可能不正確,請重新確認