Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl Mercurial 1.7.3证书错误窗口_Ssl_Mercurial_Https_Certificate - Fatal编程技术网

Ssl Mercurial 1.7.3证书错误窗口

Ssl Mercurial 1.7.3证书错误窗口,ssl,mercurial,https,certificate,Ssl,Mercurial,Https,Certificate,我正在尝试在Windows上的Mercurial 1.7.3中克隆我的回购,并出现以下错误: C:\Dev>hg克隆 中止:dev.mydomain.com证书错误:证书用于*.webpartion.com 我是否必须为真正的SSL证书付费才能让它工作,或者我是否有办法强迫它进行克隆?(我知道出于安全原因,这通常不是一个好主意。我只想签出代码。) 谢谢, 布莱恩你应该看看这个: Mercurial最近刚刚开始验证证书。您可以为自签名证书创建例外情况。只需将其放入mercurial配置文件: [w

我正在尝试在Windows上的Mercurial 1.7.3中克隆我的回购,并出现以下错误:

C:\Dev>hg克隆 中止:dev.mydomain.com证书错误:证书用于*.webpartion.com

我是否必须为真正的SSL证书付费才能让它工作,或者我是否有办法强迫它进行克隆?(我知道出于安全原因,这通常不是一个好主意。我只想签出代码。)

谢谢, 布莱恩

你应该看看这个:


Mercurial最近刚刚开始验证证书。您可以为自签名证书创建例外情况。

只需将其放入mercurial配置文件:

[web]
cacerts =

在指定的情况下,它会在如下警告消息中给出主机指纹:warning:xxx.com带有指纹的证书xx:yy:da:95:b9:d3:f1:10:4f:24:3d:85:d0:1b:40:8d:e0:53:c8:47未验证(请检查hostfingerms或web.cacerts配置设置),然后我添加了删除上述解决方案,并添加了:[hostfingerprints]xxx.com=xx:yy:da:95:b9:d3:f1:10:4f:24:3d:85:d0:1b:40:8d:e0:53:c8:47并在指定的情况下,它会在如下警告消息中给出主机指纹:`warning:xxx.com证书带指纹xx:yy:da:95:b9:d3:f1:10:4f:24:3d:85:d0:1b:40:8d:e0:53:c8:47未验证(检查hostfingerms或web.cacerts配置设置)`然后我在上面添加了删除的解决方法,并添加了:`[hostfingerprints]xxx.com=xx:yy:da:95:b9:d3:f1:10:4f:24:3d:85:d0:1b:40:8d:e0:53:c8:47`