Merge pull request #409 from ceph/wip-ssl-verify-fix

Disable ssl verify by default
This commit is contained in:
Ali Maredia 2021-08-11 13:13:59 -04:00 committed by GitHub
commit a6004fe43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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