mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
Fix acme_revocation key file bug
This commit is contained in:
parent
b5a51de16b
commit
8bf677ff3b
1 changed files with 3 additions and 2 deletions
|
|
@ -207,10 +207,11 @@ class Client(object):
|
|||
|
||||
"""
|
||||
cert_der = M2Crypto.X509.load_cert(cert["backup_cert_file"]).as_der()
|
||||
with open(cert["backup_key_file"], 'rU') as backup_key_file:
|
||||
key = backup_key_file.read()
|
||||
|
||||
revocation = self.send_and_receive_expected(
|
||||
acme.revocation_request(cert_der, cert["backup_key_file"]),
|
||||
"revocation")
|
||||
acme.revocation_request(cert_der, key), "revocation")
|
||||
|
||||
display.generic_notification(
|
||||
"You have successfully revoked the certificate for "
|
||||
|
|
|
|||
Loading…
Reference in a new issue