mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-26 09:42:31 +00:00
disable ssl verify by default
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit b252638369
)
This commit is contained in:
parent
0fef1637ae
commit
97fb5a7ee3
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;
|
||||||
|
|
|
@ -170,7 +170,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