diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-04-03 13:25:03 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2013-04-03 13:25:03 -0700 |
commit | 1f003e68b435288eed05fe0fb8c649b866fa0c4b (patch) | |
tree | 2df0045fc507ecacc7159973393a7f84382f6c00 /revoke.sh | |
parent | fd72d61332d4600b6c2182afd367781438b412dc (diff) | |
download | cash-1f003e68b435288eed05fe0fb8c649b866fa0c4b.tar.gz cash-1f003e68b435288eed05fe0fb8c649b866fa0c4b.zip |
revoke.sh: Adding optional post-revocation script call.
Diffstat (limited to 'revoke.sh')
-rwxr-xr-x | revoke.sh | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -31,7 +31,10 @@ openssl ca -config "$OPENSSL_CONFIG" -gencrl -out "$CA"/ca/"$CA".crl echo openssl crl -in "$CA"/ca/"$CA".crl -text -noout echo -echo Apache: SSLCARevocationFile "$PWD"/"$CA"/ca/"$CA".crl -echo nginx: ssl_crl "$PWD"/"$CA"/ca/"$CA".crl -echo Lighttpd: sucks to be you! - +if [ -x ./post-revoke ]; then + ./post-revoke "$CA"/signed/"$NAME".der +else + echo Apache: SSLCARevocationFile "$PWD"/"$CA"/ca/"$CA".crl + echo nginx: ssl_crl "$PWD"/"$CA"/ca/"$CA".crl + echo Lighttpd: sucks to be you! +fi |