Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot pull: certificate for bitbucket.org has unexpected fingerprint

yayamamo September 11, 2019

When pulling from my repo with `hg pull`, I got the error.

$ hg pull
pulling from https://yayamamo@bitbucket.org/yayamamo/togoannotator
abort: certificate for bitbucket.org has unexpected fingerprint 70:a7:44:ea:a9:ea:e8:69:16:ea:12:00:35:a9:a6:0e:ae:38:8e:f8
(check hostfingerprint configuration)

My config file at ~/.hgrc contains the following.

[hostfingerprints]
bitbucket.org = 70:a7:44:ea:a9:ea:e8:69:16:ea:12:00:35:a9:a6:0e:ae:38:8e:f8

 This problem occurs both at Sourcetree 3.0 (200) and at my terminal.

It still occurs even after I removed the above fingerprint.

OS version is macOS Mojave 10.14.6.

My collaborator can pull from the repo without the fingerprint setting.

 

1 answer

1 accepted

0 votes
Answer accepted
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2019

@yayamamo 

 

Have you had that running with the mentioned hostfingerprint?

Generally speaking that error was shown when the certificate of bitbucket.org got renewed, see https://bitbucket.org/blog/2847?_ga=2.127242826.63708331.1568321751-2130411170.1567371942

 

Cheers

Kurt

yayamamo September 14, 2019

Thanks, but the result hasn't been changed.

abort: certificate for bitbucket.org has unexpected fingerprint 70:a7:44:ea:a9:ea:e8:69:16:ea:12:00:35:a9:a6:0e:ae:38:8e:f8
(check hostfingerprint configuration)

I actually have no idea about which file my hg looks for to get the config.
Is there any way to check it?

Thanks.

Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2019

@yayamamo 

not being a hg pro i think that their documentation could guide you where to find the config file https://www.mercurial-scm.org/doc/hgrc.5.html

 

Cheers

Kurt

yayamamo September 17, 2019

Thank you!

I found that the hgrc file is at repo/.hg .

Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2019

@yayamamo 

 

Glad you found the file, were you able to update the fingerprint?

 

Cheers

Kurt

yayamamo September 17, 2019

Yes, now I can pull from and push to my repos!

Yasunori

Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2019

@yayamamo 

 

Perfect, pls. mark the answer as accepted so that other users looking for that problem have a hint on the solution

 

Cheers

Kurt

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events