disable ssl verify by default

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit b252638369)
This commit is contained in:
Ali Maredia 2021-08-10 14:41:05 -04:00
parent 521346dcc4
commit b31649f351
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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: