diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2020-02-26 16:27:59 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2020-02-26 16:27:59 -0800 |
commit | 49fe6c0218d58f4c62e8b7adfe278b52d7975eab (patch) | |
tree | 52c24d9ccbd54e7daa51648e95d9aff389c958fd | |
parent | 98ebf8956b723b12de652104a6391c26cc638ff9 (diff) | |
download | cash-49fe6c0218d58f4c62e8b7adfe278b52d7975eab.tar.gz cash-49fe6c0218d58f4c62e8b7adfe278b52d7975eab.zip |
Add configured $SUPPLEMENTARY_CONFIG to hooks
-rwxr-xr-x | revoke.sh | 2 | ||||
-rwxr-xr-x | signcsr.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ echo export -n PASS if [ -x ./post-revoke ]; then - ./post-revoke "$CA"/ca/"$CA".crl "$CERT" + ./post-revoke "$CA"/ca/"$CA".crl "$CERT" $SUPPLEMENTARY_CONFIG else echo Apache: SSLCARevocationFile "$PWD"/"$CA"/ca/"$CA".crl echo nginx: ssl_crl "$PWD"/"$CA"/ca/"$CA".crl @@ -42,7 +42,7 @@ if [ -e "$CA"/certs/"$SERIAL".pem ]; then # openssl lacks useful exit status cod ln "$CA"/certs/"$SERIAL".pem "$CA"/signed/"$NAME".crt # so we can find the certificate by name as well as serial openssl x509 -in "$CA"/certs/"$SERIAL".pem -outform DER -out "$CA"/signed/"$NAME".der # Chrome compatible if [ -x ./post-sign ]; then - ./post-sign "$CA"/signed/"$NAME".der + ./post-sign "$CA"/signed/"$NAME".der $SUPPLEMENTARY_CONFIG else echo "* Web: $CA/signed/$NAME.der with Content-type: application/x-x509-user-cert is suggested." echo "* Email: use ./mailcert.sh $NAME [emailaddress] to use sendmail to deliver the CA and user certificate as PEM MIME attachments." |