From 9b7448cfcaf5f133d08f98bfa77668fd10e580de Mon Sep 17 00:00:00 2001 From: Hannah Ward Date: Fri, 18 Aug 2017 10:56:19 +0100 Subject: [PATCH] new: Allow for non-verification of SSL --- scripts/push_published_to_taxii.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/push_published_to_taxii.py b/scripts/push_published_to_taxii.py index 6f512a0..42f84cc 100644 --- a/scripts/push_published_to_taxii.py +++ b/scripts/push_published_to_taxii.py @@ -43,6 +43,8 @@ cli = create_client(discovery_path="{}://{}/services/discovery".format(config.ge cli.set_auth(username = config["taxii"]["auth"]["username"], password = config["taxii"]["auth"]["password"] ) +if not config.get("verify_ssl", True): + cli.verify_ssl = False while True: # Wait for something to come in on the ZMQ socket