VisualSVN 服务器自签名证书
我正在在线阅读 VisualSVN 文档,其中之一是这样的:
It's also possible to export a self-signed certificate from VisualSVN Server and save this certificate in the trusted certificates list on all client computers.
但无法找到有关如何执行此操作的更多信息。有人可以帮助我吗?我正在学习如何使用SVN,先分享给我的兄弟们。
编辑:
我们使用的是 Windows 计算机:XP、Vista 和 7。
I'm reading VisualSVN doc online and one of them is like this:
It's also possible to export a self-signed certificate from VisualSVN Server and save this certificate in the trusted certificates list on all client computers.
But cannot find more info about how to do that. Anybody can help me? I'm learning how to use SVN and will share with my brothers first.
EDIT:
We are using Windows machines: XP, Vista and 7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以通过浏览器完成此操作。当您使用 HTTPS 打开 VisualSVN 服务器 URL 时,如果您的 VisualSVN 服务器具有自签名证书,浏览器会警告您。浏览器会询问:您是否将此证书添加到安全例外列表中?如果您接受,浏览器会将此证书添加到例外列表中,下次您访问此服务器时,您将在没有证书确认的情况下进行连接。
您也可以通过浏览器导出证书。例如,当您尝试使用 Firefox 连接到具有自签名证书的服务器时,它会显示“此连接不受信任”消息。您可以通过以下步骤导出证书:
正如您所注意到的,VisualSVN 服务器管理器不支持证书导出。但下一版本将支持此功能。
祝你好运!
Yes, you can do it via your browser. When you open your VisualSVN Server URL using HTTPS, if your VisualSVN Server has self-signed certificate, browser will warn you about it. Browser will ask: would you add this certificate to the security exception list? If you will accept it, browser will add this certificate to the exception list and next time you visit this server you will connect without certificate confirmation.
As also you can export certificate via browser. For example, when you're trying to connect to the server with self-signed certificate using Firefox, it will show you "This Connection is Untrusted" message. You can export certificate with the following steps:
As you have noticed, VisualSVN Server Manager doesn't support export of the certificates. But this function will be supported in one of the next releases.
Good luck!
我遇到了自签名证书的问题,并找到了一种方法来为我的构建服务器上的构建用户永久接受它们。
从命令行调用 svn as:
系统将提示您选择永久接受证书
I ran into a problem with self-signed certificates and found a way to accept them permanently for my build user on my build server.
From the command-line call svn as:
you will be promted with an option to accept the certificate permanently