Skip to content

Commit 7342102

Browse files
authored
docs: clarify TLSConfig verify parameter (#2573)
Signed-off-by: Ville Skyttä <[email protected]>
1 parent 55f4729 commit 7342102

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/tls.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ class TLSConfig:
1212
Args:
1313
client_cert (tuple of str): Path to client cert, path to client key.
1414
ca_cert (str): Path to CA cert file.
15-
verify (bool or str): This can be ``False`` or a path to a CA cert
16-
file.
15+
verify (bool or str): This can be a bool or a path to a CA cert
16+
file to verify against. If ``True``, verify using ca_cert;
17+
if ``False`` or not specified, do not verify.
1718
ssl_version (int): A valid `SSL version`_.
1819
assert_hostname (bool): Verify the hostname of the server.
1920

0 commit comments

Comments
 (0)