From 97fb5a7ee3355822ec3b444b65312c863303b31a Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Tue, 10 Aug 2021 14:41:05 -0400 Subject: [PATCH] disable ssl verify by default Signed-off-by: Ali Maredia (cherry picked from commit b252638369f56ab171bc88d54d71025ce8b8d6c7) --- s3tests.conf.SAMPLE | 2 +- s3tests_boto3/functional/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/s3tests.conf.SAMPLE b/s3tests.conf.SAMPLE index c20376a..8e979df 100644 --- a/s3tests.conf.SAMPLE +++ b/s3tests.conf.SAMPLE @@ -11,7 +11,7 @@ port = 8000 is_secure = False ## say "False" to disable SSL Verify -ssl_verify = True +ssl_verify = False [fixtures] ## all the buckets created will start with this prefix; diff --git a/s3tests_boto3/functional/__init__.py b/s3tests_boto3/functional/__init__.py index 99b6d23..e940029 100644 --- a/s3tests_boto3/functional/__init__.py +++ b/s3tests_boto3/functional/__init__.py @@ -170,7 +170,7 @@ def setup(): try: config.default_ssl_verify = cfg.getboolean('DEFAULT', "ssl_verify") except configparser.NoOptionError: - config.default_ssl_verify = True + config.default_ssl_verify = False # Disable InsecureRequestWarning reported by urllib3 when ssl_verify is False if not config.default_ssl_verify: