2014-02-17 65 views
0

我在視覺svn中使用post commit鉤子。我想結帳提交到庫中的文件:在VisualSVN服務器上的提交後鉤子「錯誤驗證服務器證書」錯誤

當我提交的文件,我得到下面的錯誤在後commit鉤子:

D:\Program Files\VisualSVN Server>"D:\Program Files\VisualSVN Server\bin\svn.exe" checkout https://***.**.**/svn/Mobile/Node/trunk C:\MyProject 
Error validating server certificate for 'https://***.***.**:443': 
- The certificate is not issued by a trusted authority. Use the 
    fingerprint to validate the certificate manually! 
Certificate information: 
- Hostname: ALPHADEV.phipaper.dom 
- Valid: from Tue, 23 Feb 2010 21:36:08 GMT until Fri, 21 Feb 2020 21:36:08 GMT 
- Issuer: ALPHADEV.phipaper.dom 
- Fingerprint: 8a:33:33:56:00:56:44:4f:6d:d3:80:c5:ba:79:1a:cd:7a:f3:27:84 
(R)eject, accept (t)emporarily or accept (p)ermanently? 

如何解決這個問題

回答

2

使用--trust-server-cert --non-interactive額外的選項結賬

+0

我添加了上面的,但我得到的錯誤爲「授權失敗:無法驗證到服務器:拒絕基本挑戰」 –

+0

1.您必須簽出一次,稍後提交將'svn up' *現有的回購* 2.如果f或VisualSVN服務器用戶在你的系統中沒有存儲憑據和服務器需要驗證,你不能使用匿名操作 –

+0

我試圖在結帳時給svn用戶名和密碼,但我得到了下面的錯誤vn:無法設置文件'C:\ MyPath \ .svn \ entries'讀寫:訪問被拒絕。 –

相關問題