diff options
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 |