chg: Use optional https

pull/22/head
Hannah Ward 2017-08-17 16:14:06 +01:00
parent e271c95979
commit 286a4df271
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ socket.connect("tcp://{}:{}".format(
socket.setsockopt_string(zmq.SUBSCRIBE, '') socket.setsockopt_string(zmq.SUBSCRIBE, '')
# Connct to TAXII as well # Connct to TAXII as well
cli = create_client(discovery_path="http://{}/services/discovery".format(config["domain"])) cli = create_client(discovery_path="{}://{}/services/discovery".format(config.get("protocol", "http"), config["domain"]))
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"]
) )