VisualSVN 服务器自签名证书

发布于 2024-10-17 18:13:51 字数 357 浏览 6 评论 0原文

我正在在线阅读 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

仅一夜美梦 2024-10-24 18:13:51

是的,您可以通过浏览器完成此操作。当您使用 HTTPS 打开 VisualSVN 服务器 URL 时,如果您的 VisualSVN 服务器具有自签名证书,浏览器会警告您。浏览器会询问:您是否将此证书添加到安全例外列表中?如果您接受,浏览器会将此证书添加到例外列表中,下次您访问此服务器时,您将在没有证书确认的情况下进行连接。

您也可以通过浏览器导出证书。例如,当您尝试使用 Firefox 连接到具有自签名证书的服务器时,它会显示“此连接不受信任”消息。您可以通过以下步骤导出证书:

  1. 选择“我了解风险”
  2. 单击“添加例外”按钮。将打开“添加安全例外”窗口。
  3. 几秒钟后,“查看”按钮将被激活,单击它。 “证书查看器”窗口将打开。
  4. 选择“详细信息”选项卡,然后单击“导出”。
  5. 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:

  1. Choose "I understand the risk"
  2. Click "Add Exception" button. "Add Security Exception" window will be open.
  3. After a few seconds "view" button will be active, click it. "Certificate viewer" window will be open.
  4. Choose "Details" tab and then click "export".
  5. Firefox will offer you to save certificate on your local disk. You'll be able to choose the format of the certificate before saving. After you get the certificate you'll be able to import it everywhere you want.

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!

倾其所爱 2024-10-24 18:13:51

我遇到了自签名证书的问题,并找到了一种方法来为我的构建服务器上的构建用户永久接受它们。

从命令行调用 svn as:

svn.exe list https://YOURsvnhost:YOURport/svn/YOURproject

系统将提示您选择永久接受证书

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:

svn.exe list https://YOURsvnhost:YOURport/svn/YOURproject

you will be promted with an option to accept the certificate permanently

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文