diff options
-rwxr-xr-x | sign-request.in | 2 |
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 |