本文介绍了svn 验证服务器证书时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用任何 svn 命令与远程服务器通信,我会收到以下错误:

If I use any svn command communicating with the remote server I get the following error:

Error validating server certificate for 'https://...':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: ...
 - Valid: from Wed, 01 Sep 2010 08:25:36 GMT until Thu, 06 Oct 2011 08:25:36 GMT
 - Issuer: ...
 - Fingerprint: ...
(R)eject, accept (t)emporarily or accept (p)ermanently?

如果我永久点击,我可以正确运行命令.但是在下一个 svn 命令中,我遇到了同样的问题,必须再次确认!为什么 svn 不永久保存我的选择?我该如何解决这个问题?

If I hit permanently I can run the command properly. But on the next svn command I get the same question and have to confirm again! Why doesn't svn save my choice permanently? How can I solve this problem?

感谢您的帮助!

推荐答案

搜索名为svn.ssl.server"的文件夹(它存在于 windows 和 *NIX 服务器)并删除它.系统可能会再次要求您保存密钥,但在那之后它应该会停止询问.

Search for the folder named "svn.ssl.server" (it exists for windows and *NIX servers) and delete it. You may be asked one more time to save the key but then it should stop asking after that point.

这篇关于svn 验证服务器证书时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 15:21
查看更多