mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
Use get_names_from_cert in storage.py
This commit is contained in:
parent
0a707b64ec
commit
2c803eff6a
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
|
|||
if target is None:
|
||||
raise errors.CertStorageError("could not find cert file")
|
||||
with open(target) as f:
|
||||
return crypto_util.get_sans_from_cert(f.read())
|
||||
return crypto_util.get_names_from_cert(f.read())
|
||||
|
||||
def autodeployment_is_enabled(self):
|
||||
"""Is automatic deployment enabled for this cert?
|
||||
|
|
|
|||
Loading…
Reference in a new issue