From ab286e088728b349b5347c2f39fc8cba57d014d6 Mon Sep 17 00:00:00 2001 From: Baime Date: Sat, 8 Jul 2017 18:00:33 +0200 Subject: [PATCH] fixed path errors in revoking by key process --- certbot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/main.py b/certbot/main.py index c055b9ba9..e7ed9bfe3 100644 --- a/certbot/main.py +++ b/certbot/main.py @@ -562,7 +562,7 @@ def revoke(config, unused_plugins): # TODO: coop with renewal config if config.key_path is not None: # revocation by cert key logger.debug("Revoking %s using cert key %s", config.cert_path[0], config.key_path[0]) - crypto_util.verify_cert_matches_priv_key(config.cert_path[0], config.key_path[1]) + crypto_util.verify_cert_matches_priv_key(config.cert_path[0], config.key_path[0]) key = jose.JWK.load(config.key_path[1]) else: # revocation by account key logger.debug("Revoking %s using Account Key", config.cert_path[0])