summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsign-ca.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sign-ca.in b/sign-ca.in
index f383e44..09ba8a2 100755
--- a/sign-ca.in
+++ b/sign-ca.in
@@ -88,7 +88,7 @@ rm \
'#ETCDIR#/simple-pki/ca/signing-ca.csr'
rsync --ignore-missing-args \
- '#ETCDIR#/simple-pki/ca/root-ca.crt'{,.old} \
+ '#ETCDIR#/simple-pki/ca/root-ca'{,.old}'.crt' \
"${remote_host}:${remote_dir}/"
(
@@ -96,7 +96,7 @@ rsync --ignore-missing-args \
find . -maxdepth 1 \
-type f \( \
-name root-ca.crt -o \
- -name root-ca.crt.old \
+ -name root-ca.old.crt \
\) \
-printf '%TY-%Tm-%TdT%TT ' \
-exec sha512sum {} \; \