mirror of
https://github.com/moepman/acertmgr.git
synced 2024-11-13 06:45:24 +01:00
authority.v1: add deprecation warning
ACMEv1 will be deprecated by letsencrypt.org in 2021* therefore add a deprecation warning on object creation * https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430
This commit is contained in:
parent
89be66dc87
commit
b5bac4870a
@ -21,6 +21,8 @@ class ACMEAuthority(AbstractACMEAuthority):
|
||||
# @param config Configuration data
|
||||
# @param key Account key data
|
||||
def __init__(self, config, key):
|
||||
log('You currently use ACMEv1 which is deprecated, consider using ACMEv2 (RFC8555) if at all possible.',
|
||||
warning=True)
|
||||
AbstractACMEAuthority.__init__(self, config, key)
|
||||
self.registered_account = False
|
||||
self.ca = config['authority']
|
||||
|
Loading…
Reference in New Issue
Block a user