summaryrefslogtreecommitdiffstats
path: root/scripts/ca-external-step1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ca-external-step1.sh')
-rwxr-xr-xscripts/ca-external-step1.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/ca-external-step1.sh b/scripts/ca-external-step1.sh
new file mode 100755
index 0000000..19eca2b
--- /dev/null
+++ b/scripts/ca-external-step1.sh
@@ -0,0 +1,28 @@
+#!/bin/sh -x
+
+rm -f /tmp/ca_signing.csr
+rm -f /tmp/ca_ocsp_signing.csr
+rm -f /tmp/ca_audit_signing.csr
+rm -f /tmp/sslserver.csr
+rm -f /tmp/subsystem.csr
+
+rm -r /tmp/external.crt
+rm -r /tmp/cert_chain.p7b
+rm -f /tmp/ca_signing.crt
+
+rm -f /tmp/example.crt
+rm -f /tmp/example2.crt
+rm -f /tmp/example.p7
+rm -f /tmp/example2.p7
+rm -f /tmp/example.p7b
+rm -f /tmp/example2.p7b
+rm -f /tmp/example3.csr
+rm -f /tmp/example3.crt
+
+pkispawn -vv -f ca-external-step1.cfg -s CA
+
+/bin/cp -f /tmp/ca_signing.csr .
+/bin/cp -f /tmp/ca_ocsp_signing.csr .
+/bin/cp -f /tmp/ca_audit_signing.csr .
+/bin/cp -f /tmp/sslserver.csr .
+/bin/cp -f /tmp/subsystem.csr .