Move account key

master
andryyy 2017-06-22 21:44:10 +02:00
parent 0c07ff59c3
commit 85a9239ae9
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ while true; do
echo "Found orphaned SAN in certificate, moving old files to ${ACME_BASE}/acme/private/${DATE}/"
mkdir -p ${ACME_BASE}/acme/private/${DATE}/
mv ${ACME_BASE}/acme/private/privkey.pem ${ACME_BASE}/acme/private/${DATE}/
mv ${ACME_BASE}/acme/private/account.key ${ACME_BASE}/acme/private/${DATE}/
mv ${ACME_BASE}/acme/fullchain.pem ${ACME_BASE}/acme/private/${DATE}/
mv ${ACME_BASE}/acme/cert.pem ${ACME_BASE}/acme/private/${DATE}/
fi