Mercurial > hg > orthanc-book
changeset 522:53901a601ea2
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Oct 2020 13:35:39 +0200 |
parents | a3c98aa2b94a |
children | 0e2427a99551 |
files | Sphinx/source/developers/repositories.rst |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Sphinx/source/developers/repositories.rst Wed Oct 14 12:55:32 2020 +0200 +++ b/Sphinx/source/developers/repositories.rst Wed Oct 14 13:35:39 2020 +0200 @@ -84,7 +84,7 @@ configuration. Add the following lines to your ``~/.hgrc`` file:: [hostfingerprints] - hg.orthanc-server.com = 5D:28:35:52:52:F9:D1:1C:C1:B5:CF:47:F0:9C:F8:1D:B0:4D:F1:BD + hg.orthanc-server.com = 1B:29:E6:DE:95:7B:6B:21:59:2C:0E:C4:85:B9:64:C9:08:84:9B:98 .. highlight:: bash @@ -92,7 +92,8 @@ fingerprint (`click here for more information <https://wiki.fluidproject.org/display/fluid/Setting+Host+Fingerprints+for+Mercurial>`__):: - $ openssl s_client -connect hg.orthanc-server.com:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha1 -noout -in /dev/stdin + $ openssl s_client -servername hg.orthanc-server.com -connect hg.orthanc-server.com:443 \ + < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha1 -noout -in /dev/stdin **Important:** As our certificates are changed periodically, you'll have to regularly update your configuration file once Mercurial @@ -116,7 +117,7 @@ and add the following lines:: [hostsecurity] - hg.orthanc-server.com:fingerprints=sha256:F4:E2:A3:2A:77:C7:E3:13:70:2C:41:EA:84:80:6B:C0:D4:84:47:B9:EF:B9:9D:B4:A6:85:43:C4:FA:8D:27:E3 + hg.orthanc-server.com:fingerprints=sha256:6A:D9:B8:88:C2:96:F1:00:B1:5E:CF:80:BB:CC:23:C5:73:18:D1:7C:7A:7B:10:3E:62:1B:08:87:42:F1:1E:BF .. highlight:: bash @@ -124,7 +125,8 @@ SHA256 fingerprint (`click here for more information <https://stackoverflow.com/a/56579497/881731>`__):: - $ openssl s_client -connect hg.orthanc-server.com:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin + $ openssl s_client -servername hg.orthanc-server.com -connect hg.orthanc-server.com:443 \ + < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin Write access