summaryrefslogtreecommitdiffstats
path: root/scripts/ca-renew-step1.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-07-12 17:28:37 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-07-12 17:28:37 +0200
commit3190be941ce9bb8b05b1bf9d49aa95480c1ba77b (patch)
tree33b37845f9a405ef9ce4b8396ac8f180e5794154 /scripts/ca-renew-step1.sh
parentda5d725379fff33a445c0b0a5c510b62e2485c88 (diff)
downloadpki-dev-3190be941ce9bb8b05b1bf9d49aa95480c1ba77b.tar.gz
pki-dev-3190be941ce9bb8b05b1bf9d49aa95480c1ba77b.tar.xz
pki-dev-3190be941ce9bb8b05b1bf9d49aa95480c1ba77b.zip
Updated CA scripts.
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