From 2a2825f004a9f8e17178c8ef65760e27d6c56746 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 9 Dec 2019 10:34:54 +0100 Subject: sign-ca.in: copy *correct* old certificate to server --- sign-ca.in | 4 ++-- 1 file 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 {} \; \ -- cgit v1.2.3-70-g09d2