web.cacerts warnings with 1.7.3, how to fix and/or disable check?

Steve Borho steve at borho.org
Mon Jan 3 12:07:23 CST 2011


2011/1/3 Lasse Vågsæther Karlsen <lasse at vkarlsen.no>:
> To be honest, the "check web.cacerts" warning felt pretty much the same way
> as a light in my car that lights up sometimes. The documentation for that
> light is "check engine".
> And no, I wasn't really interested in disabling it if I could fix the actual
> problem. However, according to
> changeset 2fa2e6444645563835537e889dd7b5d230348430 Mercurial was supposed to
> silently ignore any certificate problems if web.cacerts wasn't configured,
> and according to "hg showconfig", it wasn't, yet it didn't ignore any
> problems either.
> The documentation page tells me I need a file containing certificates, but
> me being an absolutely idiot when it comes to certificate handling and
> processing, I did not know where to get hold of such a file, or beyond the
> text on the documentation page, what it would contain.
>
> I tried downloading the certificate from CodePlex in various file formats
> and give that to it by specifying the full path to and name of a file
> containing that, but that only gave me parsing errors in Mercurial so I
> figured that was incorrect, and the file contents looked nothing like the
> documentation either.
> Note that I am still learning Mercurial through and through, so there's
> plenty of stuff about it that I don't know. For instance, I didn't know
> there was a hgrc.d directory in my Mercurial installation with system-wide
> configuration files.
> Since the actual cause here was that I had an old Mercurial binary
> installation, and a new TortoiseHg installation, is there any way for me to
> ask Mercurial to tell me where it got all its configuration from? Not
> necessarily for each key, but a list of configuration files that was read
> in?

hg showconfig --debug [SECTION]


-- 
Steve Borho


More information about the Mercurial-devel mailing list