comparison doc/hgrc.5.txt @ 12593:01c373762b76 stable

doc: clarify that https cert verification requires web.cacerts
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 01 Oct 2010 00:48:50 +0200
parents ffcceca7406d
children e23895aea892
comparison
equal deleted inserted replaced
12592:f2937d6492c5 12593:01c373762b76
949 ``baseurl`` 949 ``baseurl``
950 Base URL to use when publishing URLs in other locations, so 950 Base URL to use when publishing URLs in other locations, so
951 third-party tools like email notification hooks can construct 951 third-party tools like email notification hooks can construct
952 URLs. Example: ``http://hgserver/repos/``. 952 URLs. Example: ``http://hgserver/repos/``.
953 ``cacerts`` 953 ``cacerts``
954 Path to file containing a list of PEM encoded certificate authorities 954 Path to file containing a list of PEM encoded certificate authority
955 that may be used to verify an SSL server's identity. The form must be 955 certificates. If specified on the client, then it will verify the identity
956 of remote HTTPS servers with these certificates. The form must be
956 as follows:: 957 as follows::
957 958
958 -----BEGIN CERTIFICATE----- 959 -----BEGIN CERTIFICATE-----
959 ... (certificate in base64 PEM encoding) ... 960 ... (certificate in base64 PEM encoding) ...
960 -----END CERTIFICATE----- 961 -----END CERTIFICATE-----
961 -----BEGIN CERTIFICATE----- 962 -----BEGIN CERTIFICATE-----
962 ... (certificate in base64 PEM encoding) ... 963 ... (certificate in base64 PEM encoding) ...
963 -----END CERTIFICATE----- 964 -----END CERTIFICATE-----
964 965
965 This feature is only supported when using Python 2.6. If you wish to 966 This feature is only supported when using Python 2.6 or later. If you wish
966 use it with earlier versions of Python, install the backported 967 to use it with earlier versions of Python, install the backported
967 version of the ssl library that is available from 968 version of the ssl library that is available from
968 ``http://pypi.python.org``. 969 ``http://pypi.python.org``.
969 970
970 You can use OpenSSL's CA certificate file if your platform has one. 971 You can use OpenSSL's CA certificate file if your platform has one.
971 On most Linux systems this will be ``/etc/ssl/certs/ca-certificates.crt``. 972 On most Linux systems this will be ``/etc/ssl/certs/ca-certificates.crt``.