Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Arch Linux, when I want to clone a project from bitbucket with mercurial I get this error:

warning: bitbucket.org certificate with fingerprint 24:...:3b
    not verified (check hostfingerprints or web.cacerts config setting)
searching for changes
  • how can I fix this?
  • how can I add this certificate to my shell?
  • is there a pack of certificate to install? like the default certificate bundle that comes with Firefox?
share|improve this question
Clone with... Mercurial? Git? – Ignacio Vazquez-Abrams May 28 '12 at 5:25
@IgnacioVazquez-Abrams update question – Efazati May 28 '12 at 6:00
up vote 6 down vote accepted

You need to add certificate to fix this issue. As described in mercurial wiki you can add it in your configuration file /etc/mercurial/hgrc:

cacerts = /etc/ssl/certs/ca-certificates.crt

Also you can check the way with fingerprints.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.