-
Notifications
You must be signed in to change notification settings - Fork 137
Installing KRA on Separate Instance
Endi S. Dewata edited this page Sep 14, 2023
·
1 revision
This page describes the process to install KRA joining a security domain running on a different instance, possibly on a different host.
The remote KRA will download the certificate chain automatically.
Dogtag 10.3 provides an optional offline mechanism to export the certificate chain and transfer it to the host that will run KRA before the installation begins.
Export the certificate chain with this command:
$ pki-server ca-cert-chain-export --pkcs12-file pki-server.p12 --pkcs12-password Secret.123
Copy the pki-server.p12 to the host that will run KRA.
The security domain's admin certificate is stored in /root/.dogtag/pki-tomcat/ca_admin.cert. Copy this file to the host that will run KRA.
Create a deployment configuration file:
[KRA] pki_admin_cert_file=ca_admin.cert [email protected] pki_admin_name=kraadmin pki_admin_nickname=kraadmin pki_admin_password=Secret.123 pki_admin_uid=kraadmin pki_client_database_password=Secret.123 pki_client_database_purge=False pki_client_pkcs12_password=Secret.123 pki_clone_pkcs12_password=Secret.123 pki_ds_base_dn=dc=kra,dc=example,dc=com pki_ds_database=kra pki_ds_password=Secret.123 pki_security_domain_hostname=pki.example.com pki_security_domain_name=EXAMPLE pki_security_domain_user=caadmin pki_security_domain_password=Secret.123 pki_token_password=Secret.123 # Dogtag 10.3 only pki_server_pkcs12_path=pki-server.p12 pki_server_pkcs12_password=Secret.123
To begin the installation:
$ pkispawn -v -f kra.cfg -s KRA
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |