svn提交代碼時報錯,證書認證失敗
Commit failed with error
0 files committed, 1 file failed to commit: 修改模糊查詢
svn: E170013: Commit failed (details follow):
svn: E170013: Unable to connect to a repository at URL 'https://127.0.0.1:8888/svn/XXXXXXXX'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
解決辦法:
在本地Windows電腦打開cmd命令行,輸入
svn ls https://127.0.0.1:8888/svn/XXXXXXXX -- 這里是項目的svn地址
他會提示你輸入信息,這時輸入p,回車。
這個命令是讓忽略證書,然后按提示走就行。
如果提示要輸入賬號密碼,那么輸入svn鏈接的賬號密碼即可。