Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

up vote 5 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:

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

Also you can check the way with fingerprints.

share|improve this answer

Your Answer

 
discard

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.