mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
Fix revocation for "None" installer
This commit is contained in:
@@ -285,9 +285,11 @@ def revoke(server):
|
||||
try:
|
||||
installer = determine_installer()
|
||||
except errors.LetsEncryptMisconfigurationError:
|
||||
logging.warning("The web server is currently misconfigured. Some "
|
||||
"abilities like seeing which certificates are currently"
|
||||
" installed may not be available at this time.")
|
||||
zope.component.getUtility(interfaces.IDisplay).generic_notification(
|
||||
"The web server is currently misconfigured. Some "
|
||||
"abilities like seeing which certificates are currently"
|
||||
" installed may not be available at this time.")
|
||||
installer = None
|
||||
|
||||
revoc = revoker.Revoker(server, installer)
|
||||
revoc.list_certs_keys()
|
||||
|
||||
Reference in New Issue
Block a user