Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid certificate verification issues?

Tags:

ssl

mercurial

I'm trying to push to a Bitbucket Mercurial repository but I keep hitting the same problem:

ruihpacheco at descartes in ~/chi/aaa/cpp/ninja (default)
$ hg push
pushing to https://[email protected]/rhpacheco/databaseclient
abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)

I've already tried what's on the website but it doesn't seem to work. Any suggestions?

like image 651
ruipacheco Avatar asked Oct 25 '25 04:10

ruipacheco


1 Answers

With this in your .hgrc file:

[hostsecurity]
bitbucket.org:fingerprints = sha1:3F:D3:C5:17:23:3C:CD:F5:2D:17:76:06:93:7E:EE:97:42:21:14:AA

Do you get the same error?

like image 125
Marcos Zolnowski Avatar answered Oct 26 '25 23:10

Marcos Zolnowski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!