4

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?
6

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:

[web]
cacerts = /etc/ssl/certs/ca-certificates.crt

Also you can check the way with fingerprints.

0

Your code server might have an updated certificate, in which case you can just go into the ~/.hgrc file and delete the following to force it to check for updates:

[hostfingerprints]
<code server> = aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa:aa

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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