summaryrefslogtreecommitdiff
path: root/signcsr.sh
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2020-02-26 16:27:59 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2020-02-26 16:27:59 -0800
commit49fe6c0218d58f4c62e8b7adfe278b52d7975eab (patch)
tree52c24d9ccbd54e7daa51648e95d9aff389c958fd /signcsr.sh
parent98ebf8956b723b12de652104a6391c26cc638ff9 (diff)
downloadcash-49fe6c0218d58f4c62e8b7adfe278b52d7975eab.tar.gz
cash-49fe6c0218d58f4c62e8b7adfe278b52d7975eab.zip
Add configured $SUPPLEMENTARY_CONFIG to hooks
Diffstat (limited to 'signcsr.sh')
-rwxr-xr-xsigncsr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/signcsr.sh b/signcsr.sh
index f9fd01d..4c095f5 100755
--- a/signcsr.sh
+++ b/signcsr.sh
@@ -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."