bit off topic: bitbucket fingerprint problem
Mads Kiilerich
mads at kiilerich.com
Tue Oct 18 13:14:45 UTC 2016
On 10/18/2016 02:30 PM, Uwe Brauer wrote:
> Hi
>
> This is very odd.
>
> A colleague of mine has the following
> .hgrc file in his home directory (Ubuntu 14.04)
>
>
>
> [hostfingerprints]
> bitbucket.org = 3f:d3:c5:17:23:3c:cd:f5:2d:17:76:06:93:7e:ee:97:42:21:14:aa
>
>
> However when he wants to clone a repository he obtains
>
> abort: certificate for bitbucket.org has
> unexpected fingerprint 65:5c:7c:e1:b4:23:f0:2b:0f:68:21:28:5b:ef:9b:5b:63:ed:ca:19
> (check hostfingerprint configuration)
>
> He has no other .hgrc file so I don't understand that message.
>
> If anybody had made similar experience and knew the solution, I highly
> would appreciate it.
Modern Python and Mercurial has proper support for system CAs. There is
thus no longer much need for hostfingerprints ... unless you want to be
really secure and manage trust manually and update your configuration
when sites renew their certificate.
Just remove that entry and you should be fine.
/Mads
More information about the Mercurial
mailing list