Mercurial > hg > orthanc-book
comparison Sphinx/source/developers/repositories.rst @ 391:4bc6bcd83ae5
hostfingerprints is not specific to Windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Apr 2020 08:58:56 +0200 |
parents | 32d0a95bee7e |
children | 1bf0cda72d2b |
comparison
equal
deleted
inserted
replaced
390:32d0a95bee7e | 391:4bc6bcd83ae5 |
---|---|
85 | 85 |
86 [hostfingerprints] | 86 [hostfingerprints] |
87 hg.orthanc-server.com = fc:45:10:18:69:4d:a6:2b:22:fa:c0:81:f4:ee:eb:8e:ba:ae:54:90 | 87 hg.orthanc-server.com = fc:45:10:18:69:4d:a6:2b:22:fa:c0:81:f4:ee:eb:8e:ba:ae:54:90 |
88 | 88 |
89 | 89 |
90 Note for Microsoft Windows | 90 Recent versions of Mercurial |
91 .......................... | 91 ............................ |
92 | 92 |
93 .. highlight:: text | 93 .. highlight:: text |
94 | 94 |
95 On Microsoft Windows, while cloning the repository, you might face an | 95 While cloning the repository, you might face an error similar to:: |
96 error similar to:: | |
97 | 96 |
98 abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) | 97 abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) |
99 | 98 |
100 In such a case, you must explicitly add the cryptographic fingerprint | 99 In such a case, you must explicitly add the cryptographic fingerprint |
101 of our code server. To this end, edit the `configuration file | 100 of our code server using a more recent option than the |
101 ``hostfingerprints`` option. To this end, edit the `configuration file | |
102 <https://www.mercurial-scm.org/doc/hgrc.5.html#files>`__ of Mercurial | 102 <https://www.mercurial-scm.org/doc/hgrc.5.html#files>`__ of Mercurial |
103 (by default, ``%USERPROFILE%\Mercurial.ini``), and add the following | 103 (by default on Microsoft Windows, ``%USERPROFILE%\Mercurial.ini``), |
104 lines:: | 104 and add the following lines:: |
105 | 105 |
106 [hostsecurity] | 106 [hostsecurity] |
107 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 | 107 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 |
108 | 108 |
109 .. highlight:: bash | 109 .. highlight:: bash |