diff --git a/server.py b/server.py index 851fd17..263feb3 100755 --- a/server.py +++ b/server.py @@ -301,7 +301,7 @@ if __name__ == "__main__": kill_event.set() sys.exit(1) - if 'keyfile' in config and 'certfile' in config: + if 'http_keyfile' in config and 'http_certfile' in config: server.socket = ssl.wrap_socket(server.socket, keyfile=config['http_keyfile'], certfile=config['http_certfile']) jid = config['component_jid'] secret = config['component_secret']