Configurable SSL certificate validation
Adding boolean config opt "disable_ssl_certificate_validation".
When set to true, and running Python 2.7.9+ or Python 3.2+,
the dashboard basic ops scenario will ignore self-signed or otherwise
invalid SSL certificates.
Change-Id: I98f585ad0fbe4fb0ee913329a9269744fe4437bd
diff --git a/tempest_horizon/config.py b/tempest_horizon/config.py
index a66ab86..1e29aed 100644
--- a/tempest_horizon/config.py
+++ b/tempest_horizon/config.py
@@ -23,9 +23,12 @@
default='http://localhost/auth/login/',
help="Login page for the dashboard",
deprecated_for_removal=True),
+ cfg.BoolOpt('disable_ssl_certificate_validation',
+ default=False,
+ help="Set to True if using self-signed SSL certificates."),
]
-#service_opt = cfg.BoolOpt(
+# service_opt = cfg.BoolOpt(
# 'horizon', default=True,
# help="Whether or not Horizon is expected to be available")
#