hg over https
Simon King
simon at simonking.org.uk
Thu Aug 9 11:52:14 UTC 2012
On Thu, Aug 9, 2012 at 12:35 PM, praveen_m86 <praveen_m86 at rediffmail.com> wrote:
> I have few doubts with hg over https.
>
> a). When http_proxy variable or https_proxy variable is set in my
> environment, a clone operation throws a wild error.
>
> I had to unset my proxy and clone, is there a clone or any command for
> that matter with --noproxy option.
> I tried with --config option with empty proxy and empty passwd by dint
> help.
Your ~/.hgrc can contain something like this:
[http_proxy]
# The proxy will not be used for these hosts:
no = internal-host1, internal-host2
(see http://www.selenic.com/mercurial/hgrc.5.html#http-proxy)
>
> b). Next is the warning issue, when i try connecting to the remote
> repository, I get a warning (check hostfingerprints or web.cacerts config
> setting).
>
> [hostfingerprints]
> configuration is working fine in ubuntu
>
> but it doesn't work in fedora,centos(remote).
>
> What I understand is, when I connect to the website i get the certificate
> downloaded in my machine at a specific location for each type of os.
>
> But how to configure cacerts for a remote machines then ? Should I have to
> add the key manually to the pem file ?
> Is there any other document about the ca-certs in addition to the hg doc ?
>
> Thanks
> Praveen.M
>
>
Have you read http://mercurial.selenic.com/wiki/CACertificates?
(particularly the Fedora/RHEL section and the "Other certificate
authorities"/"Self-signed certificates" sections)
Hope that helps,
Simon
More information about the Mercurial
mailing list