The problem:
Recently I have updated my system and also mecrurial. Today I tried to do some work with a repository hosted in another machine and I got the following warning:
Warning: bitbucket.org certificate with fingerprint81: 2b: 08:90:DC: D3:71: EE: E0: 7c: B4:75: Ce: 9B: 6C:48:94:56: A1: Fe not verified(Check hostfingerprints or web. cacerts config setting)
This really annoyed me and I did some search around what is necessary to do to get rid of this warning. And the solution follows.
The solution:
Add the following lines to the. hgrc file which is located in your home directory (if the file is not there create it ).
[Hostfingerprints] Www. bscmsrc. eu = e1: 0e: 46: 81: 37: 20: 33: AA: 42: C0: 98: D7: E9: 7f: C6: 19: 7A: EE: D5: 37
Assuming thatE1: 0e: 46: 81: 37: 20: 33: AA: 42: C0: 98: D7: E9: 7f: C6: 19: 7A: EE: D5: 37Is the fingerprint for your host (displayed in the warning message ).
And this shoshould be enough to not see the warning message anymore.