# HG changeset patch # User Sebastien Jodogne # Date 1587452336 -7200 # Node ID 4bc6bcd83ae56f170dd545770a86c59c98d8f3f6 # Parent 32d0a95bee7e98d437ec01ede82b82b07b2f17a5 hostfingerprints is not specific to Windows diff -r 32d0a95bee7e -r 4bc6bcd83ae5 Sphinx/source/developers/repositories.rst --- a/Sphinx/source/developers/repositories.rst Tue Apr 21 08:56:07 2020 +0200 +++ b/Sphinx/source/developers/repositories.rst Tue Apr 21 08:58:56 2020 +0200 @@ -87,21 +87,21 @@ hg.orthanc-server.com = fc:45:10:18:69:4d:a6:2b:22:fa:c0:81:f4:ee:eb:8e:ba:ae:54:90 -Note for Microsoft Windows -.......................... +Recent versions of Mercurial +............................ .. highlight:: text -On Microsoft Windows, while cloning the repository, you might face an -error similar to:: +While cloning the repository, you might face an error similar to:: abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) In such a case, you must explicitly add the cryptographic fingerprint -of our code server. To this end, edit the `configuration file +of our code server using a more recent option than the +``hostfingerprints`` option. To this end, edit the `configuration file `__ of Mercurial -(by default, ``%USERPROFILE%\Mercurial.ini``), and add the following -lines:: +(by default on Microsoft Windows, ``%USERPROFILE%\Mercurial.ini``), +and add the following lines:: [hostsecurity] hg.orthanc-server.com:fingerprints=sha256:A1:75:3A:3F:20:74:C1:A6:C3:16:DD:EC:4C:67:74:C4:70:BE:E8:35:0A:0A:C7:2E:36:1F:49:8B:E2:60:61:73