chg: Use optional https
parent
e271c95979
commit
286a4df271
|
@ -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"]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue