Mercurial host fingerprint warning

Source: Internet
Author: User
Tags mercurial

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.