From 7749fa6d61107258db2827b03e51b3a7d340de18 Mon Sep 17 00:00:00 2001 From: Frogg Date: Mon, 18 May 2026 00:28:00 +0200 Subject: [PATCH] - amelioration du script ca renew --- script/ca_server_renew.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/script/ca_server_renew.sh b/script/ca_server_renew.sh index 0a956bf..a43dd99 100755 --- a/script/ca_server_renew.sh +++ b/script/ca_server_renew.sh @@ -1,4 +1,13 @@ systemctl stop step-ca -step certificate create "Frogg.home CA Intermediate CA" /var/lib/step-ca/.step/certs/intermediate_ca.crt /var/lib/step-ca/.step/secrets/intermediate_ca_key --profile intermediate-ca --ca /var/lib/step-ca/.step/certs/root_ca.crt --ca-key /var/lib/step-ca/.step/secrets/root_ca_key --not-after 87600h --ca-password-file /var/lib/step-ca/.step/password.txt --password-file /var/lib/step-ca/.step/password.txt --force + +step certificate create "Frogg.home CA Intermediate CA" /var/lib/step-ca/.step/certs/intermediate_ca.crt /var/lib/step-ca/.step/secrets/intermediate_ca_key \ +--profile intermediate-ca \ +--ca /var/lib/step-ca/.step/certs/root_ca.crt \ +--ca-key /var/lib/step-ca/.step/secrets/root_ca_key \ +--not-after 8760h \ +--ca-password-file /var/lib/step-ca/.step/password.txt \ +--password-file /var/lib/step-ca/.step/password.txt \ +--force + chown -R step:step /var/lib/step-ca/ systemctl start step-ca \ No newline at end of file