diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | revoke_crt.py | 5 |
2 files changed, 4 insertions, 6 deletions
@@ -381,10 +381,9 @@ user@hostname:~$ user@hostname:~$ python revoke_crt.py --public-key user.pub domain.crt Reading pubkey file... Found public key! -STEP 1: You need to sign a file (replace 'auth.key' with your user private key -or the certificate private key). +STEP 1: You need to sign a file (replace 'user.key' with your user private key) -openssl dgst -sha256 -sign auth.key -out revoke_Z5Qxj3.sig revoke_TKSK9w.json +openssl dgst -sha256 -sign user.key -out revoke_Z5Qxj3.sig revoke_TKSK9w.json Press Enter when you've run the above command in a new terminal window... Requesting revocation... diff --git a/revoke_crt.py b/revoke_crt.py index ccfce0a..4d24db9 100644 --- a/revoke_crt.py +++ b/revoke_crt.py @@ -71,10 +71,9 @@ def revoke_crt(pubkey, crt): # Step 3: Ask the user to sign the revocation request sys.stderr.write("""\ -STEP 1: You need to sign a file (replace 'auth.key' with your user private key¬ -or the certificate private key). +STEP 1: You need to sign a file (replace 'user.key' with your user private key) -openssl dgst -sha256 -sign auth.key -out {} {} +openssl dgst -sha256 -sign user.key -out {} {} """.format(crt_file_sig_name, crt_file_name)) |