tailing
tail -f /var/log/letsencrypt/letsencrypt.log
for successful revoke of the rsa cert
2016-08-30 00:16:33,924:DEBUG:certbot.main:Root logging level set at 30
2016-08-30 00:16:33,925:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-08-30 00:16:33,926:DEBUG:certbot.main:certbot version: 0.8.1
2016-08-30 00:16:33,926:DEBUG:certbot.main:Arguments: ['--server', 'https://acme-staging.api.letsencrypt.org/directory', '--standalone', '--standalone-supported-challenges', 'tls-sni-01', '--key-path', '/etc/ssl/le/keys/privkey_rsa.pem', '--cert-path', '/etc/letsencrypt/live/test0001.example.com/cert.rsa.crt.pem', '-d', 'test0001.example.com']
2016-08-30 00:16:33,926:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-08-30 00:16:33,932:DEBUG:certbot.main:Revoking /etc/letsencrypt/live/test0001.example.com/cert.rsa.crt.pem using cert key /etc/ssl/le/keys/privkey_rsa.pem
2016-08-30 00:16:34,088:DEBUG:root:Sending GET request to https://acme-staging.api.letsencrypt.org/directory. args: (), kwargs: {}
2016-08-30 00:16:34,092:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
2016-08-30 00:16:34,160:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 296
2016-08-30 00:16:34,161:DEBUG:root:Received <Response [200]>. Headers: {'Content-Length': '296', 'Expires': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Boulder-Request-Id': '7b4gGu3TOF8_Gr6ULVEOSVBeYnSd4vf_ThkdZ1-4sMw', 'Strict-Transport-Security': 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 30 Aug 2016 00:16:35 GMT', 'X-Frame-Options': 'DENY', 'Content-Type': 'application/json', 'Replay-Nonce': 'gBl7jt9wnvPAKFYVEQ7b2zA6yE0k-v3j82I4aU8sW1Y'}. Content: '{\n "new-authz": "https://acme-staging.api.letsencrypt.org/acme/new-authz",\n "new-cert": "https://acme-staging.api.letsencrypt.org/acme/new-cert",\n "new-reg": "https://acme-staging.api.letsencrypt.org/acme/new-reg",\n "revoke-cert": "https://acme-staging.api.letsencrypt.org/acme/revoke-cert"\n}'
2016-08-30 00:16:34,161:DEBUG:acme.client:Received response <Response [200]> (headers: {'Content-Length': '296', 'Expires': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Boulder-Request-Id': '7b4gGu3TOF8_Gr6ULVEOSVBeYnSd4vf_ThkdZ1-4sMw', 'Strict-Transport-Security': 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 30 Aug 2016 00:16:35 GMT', 'X-Frame-Options': 'DENY', 'Content-Type': 'application/json', 'Replay-Nonce': 'gBl7jt9wnvPAKFYVEQ7b2zA6yE0k-v3j82I4aU8sW1Y'}): '{\n "new-authz": "https://acme-staging.api.letsencrypt.org/acme/new-authz",\n "new-cert": "https://acme-staging.api.letsencrypt.org/acme/new-cert",\n "new-reg": "https://acme-staging.api.letsencrypt.org/acme/new-reg",\n "revoke-cert": "https://acme-staging.api.letsencrypt.org/acme/revoke-cert"\n}'
2016-08-30 00:16:34,162:DEBUG:root:Requesting fresh nonce
2016-08-30 00:16:34,162:DEBUG:root:Sending HEAD request to https://acme-staging.api.letsencrypt.org/acme/revoke-cert. args: (), kwargs: {}
2016-08-30 00:16:34,208:DEBUG:requests.packages.urllib3.connectionpool:"HEAD /acme/revoke-cert HTTP/1.1" 405 0
2016-08-30 00:16:34,209:DEBUG:root:Received <Response [405]>. Headers: {'Content-Length': '91', 'Pragma': 'no-cache', 'Boulder-Request-Id': 'AO_jx2l3csDXa1LveG0ZlBiLFPrBjmfFdQIdoyqcY_g', 'Expires': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Server': 'nginx', 'Connection': 'keep-alive', 'Allow': 'POST', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Content-Type': 'application/problem+json', 'Replay-Nonce': 'Fc7kyPl0ssCE4O-paa5BcgA22g5xToubBT53qauyrtE'}. Content: ''
2016-08-30 00:16:34,209:DEBUG:acme.client:Storing nonce: '\x15\xce\xe4\xc8\xf9t\xb2\xc0\x84\xe0\xef\xa9i\xaeAr\x006\xda\x0eqN\x8b\x9b\x05>w\xa9\xab\xb2\xae\xd1'
2016-08-30 00:16:34,210:DEBUG:acme.client:Serialized JSON: {"resource": "revoke-cert", "certificate": "MIIF5TCCBM2gAwIBAgITA...xq-Pk7_2e5O6WsUmhPwCFnA"}
2016-08-30 00:16:34,212:DEBUG:acme.jose.json_util:Omitted empty fields: cty=None, x5t=None, crit=(), x5tS256=None, x5u=None, x5c=(), alg=None, jku=None, typ=None, kid=None, jwk=None
2016-08-30 00:16:34,231:DEBUG:acme.jose.json_util:Omitted empty fields: cty=None, x5t=None, crit=(), x5tS256=None, x5u=None, x5c=(), jku=None, typ=None, nonce=None, kid=None
2016-08-30 00:16:34,232:DEBUG:root:Sending POST request to https://acme-staging.api.letsencrypt.org/acme/revoke-cert. args: (), kwargs: {'data': '{"header": {"alg": "RS256", "jwk": {"e": "AQAB", "kty": "RSA", "n": "zl2blY2nAMkv2I...ODi6B9tn7QLq09kBEOWdBos"}'}
2016-08-30 00:16:34,296:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/revoke-cert HTTP/1.1" 200 0
2016-08-30 00:16:34,297:DEBUG:root:Received <Response [200]>. Headers: {'Content-Length': '0', 'Expires': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Boulder-Request-Id': 'LldYZg01ysuOKfYaXTbH-x8TI8EPMI9eBX-fC-JI7P4', 'Strict-Transport-Security': 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 30 Aug 2016 00:16:35 GMT', 'X-Frame-Options': 'DENY', 'Content-Type': 'text/plain; charset=utf-8', 'Replay-Nonce': 'deIOZEugv83umuq2yGx4KrsmMb2IlTe4XDm34TbjTPY'}. Content: ''
2016-08-30 00:16:34,297:DEBUG:acme.client:Storing nonce: 'u\xe2\x0edK\xa0\xbf\xcd\xee\x9a\xea\xb6\xc8lx*\xbb&1\xbd\x88\x957\xb8\\9\xb7\xe16\xe3L\xf6'
2016-08-30 00:16:34,298:DEBUG:acme.client:Received response <Response [200]> (headers: {'Content-Length': '0', 'Expires': 'Tue, 30 Aug 2016 00:16:35 GMT', 'Boulder-Request-Id': 'LldYZg01ysuOKfYaXTbH-x8TI8EPMI9eBX-fC-JI7P4', 'Strict-Transport-Security': 'max-age=604800', 'Server': 'nginx', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 30 Aug 2016 00:16:35 GMT', 'X-Frame-Options': 'DENY', 'Content-Type': 'text/plain; charset=utf-8', 'Replay-Nonce': 'deIOZEugv83umuq2yGx4KrsmMb2IlTe4XDm34TbjTPY'}): ''
and for try/fail of revoke for the ec cert
2016-08-30 00:18:00,522:DEBUG:certbot.main:Root logging level set at 30
2016-08-30 00:18:00,525:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-08-30 00:18:00,526:DEBUG:certbot.main:certbot version: 0.8.1
2016-08-30 00:18:00,526:DEBUG:certbot.main:Arguments: ['--server', 'https://acme-staging.api.letsencrypt.org/directory', '--standalone', '--standalone-supported-challenges', 'tls-sni-01', '--key-path', '/etc/ssl/le/keys/privkey_ec.pem', '--cert-path', '/etc/letsencrypt/live/test0001.example.com/cert.ec.crt.pem', '-d', 'test0001.example.com']
2016-08-30 00:18:00,527:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-08-30 00:18:00,535:DEBUG:certbot.main:Revoking /etc/letsencrypt/live/test0001.example.com/cert.ec.crt.pem using cert key /etc/ssl/le/keys/privkey_ec.pem
2016-08-30 00:18:00,743:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 744, in main
return config.func(config, plugins)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/certbot/main.py", line 479, in revoke
key = jose.JWK.load(config.key_path[1])
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/jose/jwk.py", line 123, in load
return jwk_cls(key=key)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/jose/json_util.py", line 222, in __init__
**(dict(self._defaults(), **kwargs)))
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/jose/util.py", line 149, in __init__
', '.join(kwargs) if kwargs else 'none'))
TypeError: __init__() takes exactly the following arguments: (key given)