svn - "Error Validating server certificate"VisualSVN 服务器上的提交后 Hook 错误

标签 svn ssl visualsvn-server post-commit

我在 visual svn 中使用提交后 Hook 。我正在尝试 check out 提交到存储库的文件:

当我提交文件时,我在提交后 Hook 中收到以下错误:

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?

如何解决这个问题

最佳答案

使用 --trust-server-cert --non-interactive 附加选项进行结帐

关于svn - "Error Validating server certificate"VisualSVN 服务器上的提交后 Hook 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21840190/

相关文章:

java - 在 Android 中使用 RestTemplate 使用 https REST WebService

visual-studio-2010 - 如何断开 VisualSVN 与我的解决方案的连接?

svn - 将现有文件夹放入存储库

visual-studio - 使用带有 Tortoise SVN 和 ankhSVN 插件的 VisualSVN 服务器用于 Visual Studio 2008

svn - 如何验证重建的 svn 存储库

svn - 在 Windows 虚拟机上将 Subversion 与 IIS 结合使用

git - 是否可以让 Git 知道 SVN 修订?

android - 在 Android Studio 中提交到 SVN 时要忽略哪些文件

ssl - HAProxy 卡在 ssl websocket 上(解析 livequery)

php - 通过 curl 和 php 连接到一个端口地址