forked from TrueCloudLab/s3-tests
Merge pull request #409 from ceph/wip-ssl-verify-fix
Disable ssl verify by default
This commit is contained in:
commit
a6004fe43b
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ port = 8000
|
||||||
is_secure = False
|
is_secure = False
|
||||||
|
|
||||||
## say "False" to disable SSL Verify
|
## say "False" to disable SSL Verify
|
||||||
ssl_verify = True
|
ssl_verify = False
|
||||||
|
|
||||||
[fixtures]
|
[fixtures]
|
||||||
## all the buckets created will start with this prefix;
|
## all the buckets created will start with this prefix;
|
||||||
|
|
|
@ -175,7 +175,7 @@ def setup():
|
||||||
try:
|
try:
|
||||||
config.default_ssl_verify = cfg.getboolean('DEFAULT', "ssl_verify")
|
config.default_ssl_verify = cfg.getboolean('DEFAULT', "ssl_verify")
|
||||||
except configparser.NoOptionError:
|
except configparser.NoOptionError:
|
||||||
config.default_ssl_verify = True
|
config.default_ssl_verify = False
|
||||||
|
|
||||||
# Disable InsecureRequestWarning reported by urllib3 when ssl_verify is False
|
# Disable InsecureRequestWarning reported by urllib3 when ssl_verify is False
|
||||||
if not config.default_ssl_verify:
|
if not config.default_ssl_verify:
|
||||||
|
|
Loading…
Reference in a new issue