ssl - TeamCity 和 Mercurial https

标签 ssl https mercurial continuous-integration teamcity

我尝试通过 https 从 TeamCity 连接到 Mercurial 存储库。 但我不能,因为出现错误: 标准错误:中止:错误:_ssl.c:577:错误:14090086:SSL 例程:SSL3_GET_SERVER_CERTIFICATE:证书验证失败。 如何禁用 TeamCity 的证书验证? 或者我该如何解决这个问题? 我试图从 IE 加载证书并将其传递到 Mercurial 的 cer 文件中,但这并没有解决我的问题。

最佳答案

我解决了我的问题,只有将 mercurial.ini 放入目录 C:\Windows\System32\config\systemprofile 之后。 .hgrc 的编辑不生效。只需将 mercurial.ini 放入 C:\Windows\System32\config\systemprofile 并将加载的证书添加到 cacept.pem 即可解决我的问题。

关于ssl - TeamCity 和 Mercurial https,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26063074/

相关文章:

mercurial - 为什么关闭后可以切换到分支?

mercurial - Vista 64 位中的 TortoiseHg 不显示上下文菜单

ssl - PayPal IPN 更新以适应 HTTP1.1 - 连接由对等方重置

python - 使用 python 从自定义路径验证 SSL 证书

html - 如何通过 HTTPS 安全地提交表单?

.htaccess - 使用 .htaccess 在两个页面上强制使用 http

.htaccess - htaccess 2变量问题

java - 使用 jetty Http 客户端发送 Https 请求中的 NullPointerException

security - 如果我可以使用 https,为什么还要使用相关协议(protocol)?

linux - 如何使用 git 跟踪我的 Linux 发行版的变化?