mercurial/help/config.txt
changeset 32274 2b017d22fe97
parent 32260 d0d9a4fca59b
child 32666 dd0bdeb0feee
equal deleted inserted replaced
32273:2e455cbeac50 32274:2b017d22fe97
  1130 
  1130 
  1131 ``fingerprints``
  1131 ``fingerprints``
  1132     A list of hashes of the DER encoded peer/remote certificate. Values have
  1132     A list of hashes of the DER encoded peer/remote certificate. Values have
  1133     the form ``algorithm``:``fingerprint``. e.g.
  1133     the form ``algorithm``:``fingerprint``. e.g.
  1134     ``sha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2``.
  1134     ``sha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2``.
       
  1135     In addition, colons (``:``) can appear in the fingerprint part.
  1135 
  1136 
  1136     The following algorithms/prefixes are supported: ``sha1``, ``sha256``,
  1137     The following algorithms/prefixes are supported: ``sha1``, ``sha256``,
  1137     ``sha512``.
  1138     ``sha512``.
  1138 
  1139 
  1139     Use of ``sha256`` or ``sha512`` is preferred.
  1140     Use of ``sha256`` or ``sha512`` is preferred.
  1179 For example::
  1180 For example::
  1180 
  1181 
  1181     [hostsecurity]
  1182     [hostsecurity]
  1182     hg.example.com:fingerprints = sha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2
  1183     hg.example.com:fingerprints = sha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2
  1183     hg2.example.com:fingerprints = sha1:914f1aff87249c09b6859b88b1906d30756491ca, sha1:fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33
  1184     hg2.example.com:fingerprints = sha1:914f1aff87249c09b6859b88b1906d30756491ca, sha1:fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33
       
  1185     hg3.example.com:fingerprints = sha256:9a:b0:dc:e2:75:ad:8a:b7:84:58:e5:1f:07:32:f1:87:e6:bd:24:22:af:b7:ce:8e:9c:b4:10:cf:b9:f4:0e:d2
  1184     foo.example.com:verifycertsfile = /etc/ssl/trusted-ca-certs.pem
  1186     foo.example.com:verifycertsfile = /etc/ssl/trusted-ca-certs.pem
  1185 
  1187 
  1186 To change the default minimum protocol version to TLS 1.2 but to allow TLS 1.1
  1188 To change the default minimum protocol version to TLS 1.2 but to allow TLS 1.1
  1187 when connecting to ``hg.example.com``::
  1189 when connecting to ``hg.example.com``::
  1188 
  1190