ubuntu/debian abort: error: _ssl.c:504: error:14090086:SSL [FIXED]

Trying to clone or update a repo, and you get this error?
[bash]
hg pull -u
abort: error: _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
[/bash]

Quick fix, go to .hgrc and put this on your [web] section

[bash]
[web]
cacerts=
[/bash]

Fixed, remember to leave a tip if you wasted hours on this and I just saved your ass 😉 j/k, but no seriously, leave a tip, pleease.

9 thoughts on “ubuntu/debian abort: error: _ssl.c:504: error:14090086:SSL [FIXED]

  1. sorry dude I have same problem, but what ever you are saying here I didn’t get it clearly please if you have time solve my problem…..
    its like this:

    sachin@sachin-OptiPlex-GX270:~$ hg clone https://bitbucket.org/galaxy/galaxy-dist/
    abort: error: _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

    What to do???????

Leave a Reply

Your email address will not be published. Required fields are marked *