From fc6913fb32ca0e9890853261e539d93c03f6491a Mon Sep 17 00:00:00 2001 From: David Klaftenegger Date: Fri, 28 May 2021 16:17:44 +0200 Subject: [PATCH] use human-readable domain names in output --- acertmgr/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acertmgr/__init__.py b/acertmgr/__init__.py index aba1b0e..5356617 100755 --- a/acertmgr/__init__.py +++ b/acertmgr/__init__.py @@ -28,7 +28,7 @@ except ImportError: # @brief fetch new certificate from letsencrypt # @param settings the domain's configuration options def cert_get(settings): - log("Getting certificate for %s" % settings['domainlist_idna']) + log("Getting certificate for %s" % settings['domainlist_human']) acme = authority(settings['authority']) acme.register_account() @@ -53,7 +53,7 @@ def cert_get(settings): log('Loading CSR from {}'.format(csr_file)) cr = tools.read_pem_file(csr_file, csr=True) else: - log('Generating CSR for {}'.format(settings['domainlist_idna'])) + log('Generating CSR for {}'.format(settings['domainlist_human'])) must_staple = str(settings.get('cert_must_staple')).lower() == "true" cr = tools.new_cert_request(settings['domainlist_idna'], key, must_staple) tools.write_pem_file(cr, csr_file)