aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-09-18 08:52:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-09-18 08:52:37 -0300
commitbb3f78c11888678a9eb268c6d27fb4b5b0c7f207 (patch)
tree8e8a51fec077d9256a645db2a4725278d4120c27 /lib
parent76cc66615e931352f2671653e931b179e8e0ecd9 (diff)
downloadkeyringer-bb3f78c11888678a9eb268c6d27fb4b5b0c7f207.tar.gz
keyringer-bb3f78c11888678a9eb268c6d27fb4b5b0c7f207.tar.bz2
Genkeys: show CSR when generating x509 keys
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/actions/genkeys5
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"
}