certificate error when cloning existing mercurial repository from eclipse

1,020 views
Skip to first unread message

singhr...@gmail.com

unread,
May 30, 2014, 2:18:02 PM5/30/14
to mercuria...@googlegroups.com
I integrated mercurial eclipse plugin in my STS and tried to clone an existing mercurial repository. But, I get the following error:

error: _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

When I try to clone the same repository outside eclipse from local installation of TortoiseHg, everything works fine. I have a reference to my cacert.pem file in mercurial.ini located in C:/Users/username/

This is picked well and lets me clone from my windows explorer (outside eclipse). However, when I integrated mercurial eclipse plugin in Eclipse and try to clone from there, it gives certificate error.

Is the certificate not getting picked in Eclipse? Do I need to do anything additional other than adding reference to cacert.pem in my C:/Users/username/   mercurial.ini?

Any idea how to fix this?

John Peberdy

unread,
May 30, 2014, 2:30:17 PM5/30/14
to mercuria...@googlegroups.com
A workaround is to uncheck the "Verify HTTPS server certificate" checkbox in Preferences->Team->Mercurial. ButI don't know why your Mercurial.ini isn't picking up the cacerts file.


--
You received this message because you are subscribed to the Google Groups "MercurialEclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mercurialeclip...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
John Peberdy

Rashmi Singh

unread,
May 30, 2014, 2:39:56 PM5/30/14
to mercuria...@googlegroups.com
Hi John, unfortunately, unchecking that option gives me  HTTP Error 504: Gateway Timeout.

Any ideas?

John Peberdy

unread,
May 30, 2014, 4:02:03 PM5/30/14
to mercuria...@googlegroups.com
This suggests there's a problem with the Mercurial server or the URL you're accessing it with. If you copy the URL into a browser do you see the Mercurial web interface?

Rashmi Singh

unread,
May 30, 2014, 4:36:02 PM5/30/14
to mercuria...@googlegroups.com
The server is OK. Because when I clone the same repository (sae URL) without using eclipse, everything works fine
Reply all
Reply to author
Forward
0 new messages