Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial Version Control show error in push

I am using Mercurial version control for my project. Everything like push,pull,update is doing okay but one thing is going wrong: when I am using push it is showing something like this

warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) 

Can someone tell me where is the wrong part. Any help and suggestions are highly appreciable.

like image 367
NewUser Avatar asked Mar 24 '12 18:03

NewUser


1 Answers

Putting this in my .hgrc did the trick.

[hostfingerprints] bitbucket.org = 45:ad:ae:1a:cf:0e:73:47:06:07:e0:88:f5:cc:10:e5:fa:1c:f7:99 

You should check the fingerprint first by viewing the host's certificate. But if all looks fine you could use the above approach to do away with those pesky warnings.

See https://confluence.atlassian.com/display/BBKB/abort%3A+certificate+for+bitbucket.org+has+unexpected+fingerprint

like image 79
stephenmuss Avatar answered Sep 18 '22 14:09

stephenmuss