diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-03-15 19:15:54 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2017-03-15 19:15:54 -0700 |
commit | 6a48324d2bbc32cf963ed2bf8a2175a76b5d4817 (patch) | |
tree | 97be7151f67a8ae9a36cc9aedc4d57a65b29be4e | |
parent | 1d0c4358c9bfb8d2748409fdb8da7c841adff4e3 (diff) | |
download | cash-6a48324d2bbc32cf963ed2bf8a2175a76b5d4817.tar.gz cash-6a48324d2bbc32cf963ed2bf8a2175a76b5d4817.zip |
signcsr.sh: display req text so admins can see key size before signing
-rwxr-xr-x | signcsr.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,8 +30,10 @@ mkdir -pv "$CA"/signed "$CA"/temp "$CA"/certs SERIAL=$(cat "$CA"/ca/"$CA".serial) if [[ "$1" =~ \.spkac$ ]]; then # SPKAC HTML5 <keygen> 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 |