User Tools

Site Tools


web_services:hg_gateway

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web_services:hg_gateway [2015/12/07 13:08]
tschulz [Add the host fingerprint to hgrc]
web_services:hg_gateway [2016/01/15 13:05] (current)
tschulz
Line 49: Line 49:
 </​code>​ </​code>​
  
-===== Using Self Signed Certs ===== +
-  * In recent versions of Mercurial SSL verification will fail for self signed SSL/HTTPS certs. ​ There are two ways to fix the issue. +
-==== Add the host fingerprint to hgrc ==== +
-  - To find the host fingerprint run the following<​file bash> openssl s_client -connect <​FQDN>:​443 < /dev/null 2>/​dev/​null | openssl x509 -fingerprint -noout -in /​dev/​stdin</​file>​ +
-  - You should get something like **SHA1 Fingerprint=9E:​FD:​0A:​7B:​C0:​40:​3D:​A9:​CF:​BD:​FE:​DA:​5E:​D3:​A8:​EB:​04:​DB:​2D:​33** take the hexidecimal value and use it the next step +
-  - Add the following to your hgrc file<​file>​ +
-[hostfingerprints] +
-<FQDN from step 1> = <​HEXVALUE from step 2> +
-</​file>​+
web_services/hg_gateway.1449515331.txt.gz · Last modified: 2015/12/07 13:08 by tschulz