Mercurial 1.7.3证书错误Windows

Bri*_*ian 6 ssl https mercurial certificate

我正在尝试在Windows上的Mercurial 1.7.3中克隆我的repo并收到以下错误:

C:\ Dev> hg clone https://dev.mydomain.com/repo abort:dev.mydomain.com证书错误:证书适用于*.webfaction.com

我是否必须支付真正的SSL证书以使其完全正常工作,或者是否有某种方式我可以强迫它进行克隆?(我知道出于安全原因,这通常不是一个好主意.我只想检查代码.)

谢谢,Brian

Sco*_*t P 7

你应该看看这个:CACertificates.

Mercurial最近才开始验证证书.您可以为自签名证书创建例外.


Key*_*eyo 7

简单地把它放在你的mercurial配置文件中:

[web]
cacerts =
Run Code Online (Sandbox Code Playgroud)