new: Allow for non-verification of SSL
parent
69d4b72037
commit
9b7448cfca
|
@ -43,6 +43,8 @@ cli = create_client(discovery_path="{}://{}/services/discovery".format(config.ge
|
||||||
cli.set_auth(username = config["taxii"]["auth"]["username"],
|
cli.set_auth(username = config["taxii"]["auth"]["username"],
|
||||||
password = config["taxii"]["auth"]["password"]
|
password = config["taxii"]["auth"]["password"]
|
||||||
)
|
)
|
||||||
|
if not config.get("verify_ssl", True):
|
||||||
|
cli.verify_ssl = False
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
# Wait for something to come in on the ZMQ socket
|
# Wait for something to come in on the ZMQ socket
|
||||||
|
|
Loading…
Reference in New Issue