new: Allow for non-verification of SSL

pull/22/head
Hannah Ward 2017-08-18 10:56:19 +01:00
parent 69d4b72037
commit 9b7448cfca
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 2 additions and 0 deletions

View File

@ -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