Friday, December 30, 2011

TortoiseHG clone error SSL: Server certificate verify failed

PROBLEM:
TortoiseHG output:
% hg clone --verbose -- https://yourhost.com/yourproject/yourproject
SSL: Server certificate verify failed

SOLUTION:
Install PyTTY.
Generate key with pyttygen.exe, save private key and public.
Send public key to admin mercurial
Run C:\Program Files\TortoiseHg\Pageant.exe and add private key to it.
Clone the protrack repo from
ssh://hg@yourhost.com/yourproject/yourproject/

Here are two main point:
1. Use Pageant.exe from TortoiseHg, NOT from the PyTTY dir !!!
2. Use "ssh://hg@" instead of http:// or https://

1 comment:

Evgeni said...

Great, thanks! 8)