Fix keylength

This commit is contained in:
VirtuBox
2019-09-30 15:05:07 +02:00
parent 122428bab7
commit 555760164b
3 changed files with 7 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ class WOAcme:
"""Issue SSL certificates with acme.sh"""
all_domains = '\' -d \''.join(acme_domains)
wo_acme_dns = acmedata['acme_dns']
keylenght = "{0}".format(WOVariables.wo_keylength)
keylenght = acmedata['keylength']
wo_acme_exec = ("/etc/letsencrypt/acme.sh --config-home "
"'/etc/letsencrypt/config'")
if acmedata['dns'] is True:

View File

@@ -111,8 +111,6 @@ class WOVariables():
wo_nginx = ["nginx-custom", "nginx-wo"]
wo_nginx_key = '188C9FB063F0247A'
wo_keylength = self.app.config.get('letsencrypt', 'keylength')
wo_php = ["php7.2-fpm", "php7.2-curl", "php7.2-gd", "php7.2-imap",
"php7.2-readline", "php7.2-common", "php7.2-recode",
"php7.2-cli", "php7.2-mbstring", "php7.2-intl",