summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-29 13:14:56 +0200
committerErich Eckner <git@eckner.net>2019-08-29 13:14:56 +0200
commite33c85c0f64dd1c0eb1612c10d2c2fbc66c98bae (patch)
treeba495bc101e37746ce43a29f0bacf04fad20e72d
parentd4a78863d7b77d43436c3ab4868ac15482fd00f4 (diff)
downloadsimple-pki-e33c85c0f64dd1c0eb1612c10d2c2fbc66c98bae.tar.xz
sign-request: use the new ca
-rwxr-xr-xsign-request.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign-request.in b/sign-request.in
index f70c99a..89912b4 100755
--- a/sign-request.in
+++ b/sign-request.in
@@ -95,7 +95,7 @@ while read -r csr; do
rm "${csr_local}"
continue
fi
- openssl req -x509 -key "${key_dir}/${ca_name}.key" -in "${csr_local}" -out "${csr_local%.csr}.crt" -addext 'basicConstraints = critical, CA:false'
+ openssl req -x509 -key "${key_dir}/${ca_name}.key.new" -in "${csr_local}" -out "${csr_local%.csr}.crt" -addext 'basicConstraints = critical, CA:false'
rm "${csr_local}"
done