Add xxx about cert existence checking.

parent 652c0813
...@@ -77,6 +77,7 @@ class ClientConfig(object): ...@@ -77,6 +77,7 @@ class ClientConfig(object):
def init(config): def init(config):
"""Initialize Slap instance, connect to server and create """Initialize Slap instance, connect to server and create
aliases to common software releases""" aliases to common software releases"""
# XXX check certificate and key existence
slap = slapos.slap.slap() slap = slapos.slap.slap()
slap.initializeConnection(config.master_url, slap.initializeConnection(config.master_url,
key_file=config.key_file, cert_file=config.cert_file) key_file=config.key_file, cert_file=config.cert_file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment