summaryrefslogtreecommitdiffstats
path: root/sign_csr.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-02-03 17:38:31 -0500
committerrsiddharth <s@ricketyspace.net>2020-02-03 17:38:31 -0500
commita592901ace91c8ae9c0cf59f76ca8a9e71fa33b9 (patch)
tree2883955b703c294764350da8c503da1a192651bb /sign_csr.py
parent9a4fe03c186bb403debc7022885d5201cf0b69c5 (diff)
sign_csr.py: Update help text.
Diffstat (limited to 'sign_csr.py')
-rw-r--r--sign_csr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sign_csr.py b/sign_csr.py
index 17654d3..2ab9d6b 100644
--- a/sign_csr.py
+++ b/sign_csr.py
@@ -237,9 +237,9 @@ Prerequisites:
Example: Generate an account keypair, a domain key and csr, and have the domain csr signed.
--------------
-$ openssl genrsa 4096 > user.key
+$ openssl genrsa -aes256 4096 > user.key
$ openssl rsa -in user.key -pubout > user.pub
-$ openssl genrsa 4096 > domain.key
+$ openssl genrsa -aes256 4096 > domain.key
$ openssl req -new -sha256 -key domain.key -subj "/CN=example.com" > domain.csr
$ python3 sign_csr.py --account-key user.key --email user@example.com domain.csr > signed.crt
--------------