mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 11:51:06 +00:00
disable ssl verify by default
Signed-off-by: Ali Maredia <amaredia@redhat.com>
This commit is contained in:
parent
5476c709c8
commit
b252638369
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