Mercurial 是否可以访问 Windows 证书存储?
我正在努力将我们的源代码管理从 hg 1.6.0 升级到 1.8.2,并且我希望设置和使用 SSL 证书。这是在运行 IIS 6.0 的 Windows Server 2008 Enterprise 系统上,而不是我的服务器上,因此我现在需要使用这些版本的软件。我的所有用户也都运行 Windows。
为了简化用户的安装/配置,我更愿意修改 Windows 证书存储而不是 cacert.pem 文件。 Mercurial 是否可以访问 Windows 证书存储区?看来不是。我正在使用内部创建的证书,通过将我的根证书添加到 Mercurial 中的 cacert.pem 文件,我可以在没有 SSL 警告的情况下正常工作,但我似乎无法通过将证书添加到 Windows 证书存储来使其正常工作。我错过了什么吗?
谢谢, 斯科特
I'm working to upgrade our source control from hg 1.6.0 to 1.8.2 and I'm looking to set up and use SSL certs. This is on a Windows Server 2008 Enterprise system running IIS 6.0, not my server so I need to use those versions of software right now. All my users are running Windows too.
To ease installation/configuration for my users I'd prefer to modify the Windows Cert Store instead of the cacert.pem file. Does Mercurial have access to the Windows Certificate Store? It doesn't seem to. I am using internally created certificates and I can get things to work without SSL warnings by adding my root cert to the cacert.pem file in Mercurial but I can't seem to get it to work by adding the certs to the Windows Cert Store. Am I missing something?
Thanks,
Scott
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,Mercurial 不会访问 Windows 证书存储。
它在其发行版中包含一个
cacert.pm
(如您要知道,即使在 1.7.3 之前,故事有点不同)文章“X. 509 证书和 Mercurial”有更多信息。
本文包含
makecert.exe
,它实际上了解 Windows 证书存储(与 Mercurial 本身相反)No, Mercurial does not access the Windows certificate store.
It includes in its distribution a
cacert.pm
(as you know, even though before 1.7.3, the story was a bit different)The article "X.509 certificates and Mercurial" has more information.
This article includes
makecert.exe
, which actually knows about the Windows certificates store (contrary to Mercurial itself)