summaryrefslogtreecommitdiffstats
path: root/scripts/ca-renew-step1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ca-renew-step1.sh')
-rwxr-xr-xscripts/ca-renew-step1.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/ca-renew-step1.sh b/scripts/ca-renew-step1.sh
new file mode 100755
index 0000000..6c883d8
--- /dev/null
+++ b/scripts/ca-renew-step1.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -x
+
+timedatectl set-ntp true --adjust-system-clock
+
+./pki-nuke.sh pki-tomcat
+
+./ca-create.sh
+
+pki-server subsystem-cert-find ca
+certutil -L -d /var/lib/pki/pki-tomcat/alias