add verify ssl option to global configuration schema.
@@ -12,6 +12,7 @@ class GlobalConfigurationSchema(BaseSchema):
http_port = fields.Str(allow_none=True)
ws_port = fields.Str(allow_none=True)
use_https = fields.Bool(allow_none=True)
+ verify_ssl = fields.Bool(allow_none=True)
@staticmethod
def schema_config():
@@ -27,9 +28,11 @@ class GlobalConfigurationConfig(BaseConfig):
host='localhost',
http_port=80,
ws_port=80,
- use_https=False):
+ use_https=False,
+ verify_ssl=True):
self.verbose = verbose
self.host = host
self.http_port = str(http_port)
self.ws_port = str(ws_port)
self.use_https = use_https
+ self.verify_ssl = verify_ssl
