summaryrefslogtreecommitdiffstats
path: root/scripts/ca-external-step1.sh
blob: 19eca2b611bd8517838e5b98ab5a56cdfeb135ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 .