diff options
author | Erich Eckner <git@eckner.net> | 2019-12-09 10:34:54 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-09 10:34:54 +0100 |
commit | 2a2825f004a9f8e17178c8ef65760e27d6c56746 (patch) | |
tree | eff574558fcf80f358077213dd46a76262c6b03d /sign-ca.in | |
parent | 7d9cf67bffaa145ed3d52467001e91fc626e4d5f (diff) | |
download | simple-pki-2a2825f004a9f8e17178c8ef65760e27d6c56746.tar.xz |
sign-ca.in: copy *correct* old certificate to server
Diffstat (limited to 'sign-ca.in')
-rwxr-xr-x | sign-ca.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 {} \; \ |