fix for unsupported option
This commit is contained in:
parent
85a06c4f5d
commit
0a7b356df5
3
start.py
3
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():
|
||||
|
Loading…
Reference in New Issue
Block a user