From b252638369f56ab171bc88d54d71025ce8b8d6c7 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 --- 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 47e3f28..127a79f 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 49ce757..726486b 100644 --- a/s3tests_boto3/functional/__init__.py +++ b/s3tests_boto3/functional/__init__.py @@ -175,7 +175,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: