diff --git a/start.py b/start.py index a19db45..4abb9d7 100644 --- a/start.py +++ b/start.py @@ -140,7 +140,7 @@ def create_cert_data_standalone(domains): # we should use tls-sni-01 if ssl is already running! os.system( - '/letsencrypt/letsencrypt-auto --config letsencrypt.conf certonly --standalone-supported-challenges http-01 --http-01-port 54321 -d ' + domains) + '/letsencrypt/letsencrypt-auto --config letsencrypt.conf certonly --http-01-port 54321 -d ' + domains) def cert_watcher(): @@ -206,6 +206,7 @@ if __name__ == '__main__': # - create cert create_cert_data_standalone(resolved_domains) create_haproxy_cert() + start_haproxy_ssl() # now we should have it up and running or something weird happened. if not is_haproxy_running():