From 6a48324d2bbc32cf963ed2bf8a2175a76b5d4817 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 15 Mar 2017 19:15:54 -0700 Subject: signcsr.sh: display req text so admins can see key size before signing --- signcsr.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'signcsr.sh') diff --git a/signcsr.sh b/signcsr.sh index 157606c..8869148 100755 --- a/signcsr.sh +++ b/signcsr.sh @@ -30,8 +30,10 @@ mkdir -pv "$CA"/signed "$CA"/temp "$CA"/certs SERIAL=$(cat "$CA"/ca/"$CA".serial) if [[ "$1" =~ \.spkac$ ]]; then # SPKAC HTML5 standard + openssl spkac -in "$1" # print key size openssl ca -config "$OPENSSL_CONFIG" -spkac "$1" -notext else # x509 CSR + openssl req -in "$1" -text # print key size openssl ca -config "$OPENSSL_CONFIG" -in "$1" fi -- cgit v1.2.3