From 73421027be04c97fc6f50da0647ba47388ed60e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 29 Jul 2022 22:55:14 +0300 Subject: docs: clarify TLSConfig verify parameter (#2573) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ville Skyttä --- docker/tls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/tls.py b/docker/tls.py index 882a50e..f4dffb2 100644 --- a/docker/tls.py +++ b/docker/tls.py @@ -12,8 +12,9 @@ class TLSConfig: Args: client_cert (tuple of str): Path to client cert, path to client key. ca_cert (str): Path to CA cert file. - verify (bool or str): This can be ``False`` or a path to a CA cert - file. + verify (bool or str): This can be a bool or a path to a CA cert + file to verify against. If ``True``, verify using ca_cert; + if ``False`` or not specified, do not verify. ssl_version (int): A valid `SSL version`_. assert_hostname (bool): Verify the hostname of the server. -- cgit v1.2.1