aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
}