summaryrefslogtreecommitdiffstats
path: root/scripts/ocsp-standalone-step2.sh
blob: 16a4e50ba3c8bd7e3011abaed3943bebe75f980b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh -x

mkdir -p tmp

cat > tmp/ocsp-standalone-step2.cfg << EOF
[DEFAULT]
pki_pin=Secret.123

[OCSP]
pki_admin_email=ocspadmin@example.com
pki_admin_name=ocspadmin
pki_admin_nickname=ocspadmin
pki_admin_password=Secret.123
pki_admin_uid=ocspadmin

#pki_backup_keys=True
#pki_backup_password=Secret.123

pki_client_database_password=Secret.123
pki_client_database_purge=False
pki_client_pkcs12_password=Secret.123

pki_ds_base_dn=dc=ocsp,dc=pki,dc=example,dc=com
pki_ds_password=Secret.123
pki_ds_database=ocsp

pki_security_domain_name=EXAMPLE
pki_token_password=Secret.123

pki_standalone=True
pki_external_step_two=True

#pki_cert_chain_nickname=ca_signing
#pki_cert_chain_nickname=Root CA Signing Certificate - ROOT
#pki_external_ca_cert_chain_path=tmp/cert_chain.p7b

#pki_ca_signing_nickname=ca_signing
#pki_external_ca_cert_path=tmp/ca_signing.crt

pki_ocsp_signing_nickname=ocsp_signing
pki_subsystem_nickname=subsystem
pki_sslserver_nickname=sslserver
pki_audit_signing_nickname=ocsp_audit_signing

#pki_external_signing_cert_path=tmp/ocsp_signing.crt
#pki_external_subsystem_cert_path=tmp/subsystem.crt
#pki_external_sslserver_cert_path=tmp/sslserver.crt
#pki_external_audit_signing_cert_path=tmp/ocsp_audit_signing.crt
#pki_external_admin_cert_path=tmp/ocsp_admin.crt

pki_ocsp_signing_cert_path=tmp/ocsp_signing.crt
pki_subsystem_cert_path=tmp/subsystem.crt
pki_sslserver_cert_path=tmp/sslserver.crt
pki_audit_signing_cert_path=tmp/ocsp_audit_signing.crt
pki_admin_cert_path=tmp/ocsp_admin.crt
EOF

pkispawn -f tmp/ocsp-standalone-step2.cfg -s OCSP