diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-09-18 08:52:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-09-18 08:52:37 -0300 |
commit | bb3f78c11888678a9eb268c6d27fb4b5b0c7f207 (patch) | |
tree | 8e8a51fec077d9256a645db2a4725278d4120c27 /lib | |
parent | 76cc66615e931352f2671653e931b179e8e0ecd9 (diff) | |
download | keyringer-bb3f78c11888678a9eb268c6d27fb4b5b0c7f207.tar.gz keyringer-bb3f78c11888678a9eb268c6d27fb4b5b0c7f207.tar.bz2 |
Genkeys: show CSR when generating x509 keys
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/actions/genkeys | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/keyringer/actions/genkeys b/lib/keyringer/actions/genkeys index addd10d..d9af46a 100755 --- a/lib/keyringer/actions/genkeys +++ b/lib/keyringer/actions/genkeys @@ -185,6 +185,11 @@ EOF openssl x509 -noout -in "$TMPWORK/${NODE}.crt" -fingerprint fi + # Show CSR + if [ "$KEYTYPE" != "ssl-self" ] || [ "$KEYTYPE" != "x509-self" ]; then + cat "$TMPWORK/${NODE}_csr.pem" + fi + echo "Done" } |