-
Notifications
You must be signed in to change notification settings - Fork 139
Installing OCSP with Existing DS Backend
Endi S. Dewata edited this page Sep 14, 2023
·
1 revision
This page describes the process to install OCSP with an existing DS backend (e.g. userRoot).
Add a PKI top-level entry in the default DS backend with the following command:
$ ldapadd -x -D "cn=Directory Manager" -w Secret.123 << EOF dn: dc=pki,dc=example,dc=com objectClass: domain dc: pki EOF
Prepare a deployment configuration file (e.g. ocsp.cfg):
[DEFAULT] pki_server_database_password=Secret.123 [OCSP] pki_admin_cert_file=/root/.dogtag/pki-tomcat/ca_admin.cert [email protected] pki_admin_name=ocspadmin pki_admin_nickname=ocspadmin pki_admin_password=Secret.123 pki_admin_uid=ocspadmin 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_database=userRoot pki_ds_create_new_db=False pki_ds_password=Secret.123 pki_security_domain_name=EXAMPLE pki_security_domain_user=caadmin pki_security_domain_password=Secret.123 pki_ocsp_signing_nickname=ocsp_signing pki_audit_signing_nickname=ocsp_audit_signing pki_sslserver_nickname=sslserver pki_subsystem_nickname=subsystem
To begin the installation, execute the following command:
$ pkispawn -f ocsp.cfg -s OCSP
Verify that OCSP is running with the following command:
$ pki -d ~/.dogtag/pki-tomcat/ca/alias -c Secret.123 -n caadmin ocsp-user-show ocspadmin ---------------- User "ocspadmin" ---------------- User ID: ocspadmin Full name: ocspadmin Email: [email protected] Type: adminType State: 1
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |