Installing TPS with Existing DS Backend - dogtagpki/pki GitHub Wiki

Table of Contents

Overview

This page describes the process to install TPS with an existing DS backend (e.g. userRoot).

Preparing DS Instance

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

Installing TPS

Prepare a deployment configuration file (e.g. tps.cfg):

[DEFAULT]
pki_server_database_password=Secret.123

[TPS]
pki_admin_cert_file=/root/.dogtag/pki-tomcat/ca_admin.cert
[email protected]
pki_admin_name=tpsadmin
pki_admin_nickname=tpsadmin
pki_admin_password=Secret.123
pki_admin_uid=tpsadmin

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

pki_ds_base_dn=dc=tps,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_audit_signing_nickname=tps_audit_signing
pki_sslserver_nickname=sslserver
pki_subsystem_nickname=subsystem

To begin the installation, execute the following command:

$ pkispawn -f tps.cfg -s TPS

Verification

Verify that TPS is running with the following command:

$ pki -d ~/.dogtag/pki-tomcat/ca/alias -c Secret.123 -n caadmin tps-user-show tpsadmin
---------------
User "tpsadmin"
---------------
  User ID: tpsadmin
  Full name: tpsadmin
  Email: [email protected]
  Type: adminType
  State: 1
  TPS Profiles:
    All Profiles

References

⚠️ **GitHub.com Fallback** ⚠️