Correct error message : key and certificate does not necessarily come from slapos config file.

parent 028b4ffd
...@@ -482,8 +482,7 @@ class ConnectionHelper: ...@@ -482,8 +482,7 @@ class ConnectionHelper:
"enabled on your machine and that the server is available. The " \ "enabled on your machine and that the server is available. The " \
"original error was: " "original error was: "
ssl_error_message_connect_fail = "\nCouldn't authenticate computer. Please "\ ssl_error_message_connect_fail = "\nCouldn't authenticate computer. Please "\
"check that certificate and key defined in slapos.cfg exist and are " \ "check that certificate and key exist and are valid. "
"valid. "
def __init__(self, connection_wrapper, host, path, key_file=None, def __init__(self, connection_wrapper, host, path, key_file=None,
cert_file=None, master_ca_file=None, timeout=None): cert_file=None, master_ca_file=None, timeout=None):
self.connection_wrapper = connection_wrapper self.connection_wrapper = connection_wrapper
......
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