diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2018-11-16 16:19:12 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2018-11-16 16:19:12 -0800 |
commit | 34d2e1c7c12db37a093ac1331f58a1818b195bdb (patch) | |
tree | a58b56a8ceb35b67ebe80387feb4300b42f05cb1 /signcsr.sh | |
parent | bd34ab275a68113103a13692ec232c0f600a8c17 (diff) | |
download | cash-34d2e1c7c12db37a093ac1331f58a1818b195bdb.tar.gz cash-34d2e1c7c12db37a093ac1331f58a1818b195bdb.zip |
signcsr: Autodetect SPKAC by content
Diffstat (limited to 'signcsr.sh')
-rwxr-xr-x | signcsr.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ fi mkdir -pv "$CA"/signed "$CA"/temp "$CA"/certs SERIAL=$(cat "$CA"/ca/"$CA".serial) -if [[ "$1" =~ \.spkac$ ]]; then # SPKAC HTML5 <keygen> standard +if grep ^SPKAC "$1"; then # SPKAC HTML5 <keygen> standard openssl spkac -in "$1" # print key size openssl ca -config "$OPENSSL_CONFIG" -spkac "$1" -notext else # x509 CSR |