diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index 805a1b5..dc4a425 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -392,6 +392,9 @@ class Client(object): self.client_name = client if insecure: + logger.warning('Insecure mode enabled. The server\'s SSL/TLS ' + 'certificate will not be validated, making the ' + 'HTTPS connection potentially insecure') self.tls_verification = False # type: Union[bool, str] elif cert_bundle is not None: if not os.path.isfile(cert_bundle):