fix for unsupported option

This commit is contained in:
Joachim Lusiardi 2019-05-23 11:08:11 +02:00
parent 85a06c4f5d
commit 0a7b356df5

View File

@ -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():