Fix cert method name
This commit is contained in:
parent
2e97742d56
commit
e5eaba1bc8
@ -50,7 +50,7 @@ def get_cert_info():
|
||||
'expires': '{} UTC'.format(cert.not_valid_after),
|
||||
'method': 'manual'}
|
||||
if os.access(ACME_CRON, os.X_OK):
|
||||
data['method'] = 'letsencrypt'
|
||||
data['method'] = 'automatic'
|
||||
# Naive method of inferring if the cert is selfsigned
|
||||
# Good enough as reputable CAs will never have the same subject and issuer CN
|
||||
# and the 'method' field is used just to populate a GUI element and not for any real cryptography
|
||||
|
Loading…
Reference in New Issue
Block a user