10.3. Updating CA-KRA Connector Information After Cloning
As covered in Section 2.7.9, “Custom Configuration and Clones”, configuration information is not updated in clone instances if it is made after the clone is created. Likewise, changes made to a clone are not copied back to the master instance.
If a new KRA is installed or cloned after a clone CA is created, then the clone CA does not have the new KRA connector information in its configuration. This means that the clone CA is not able to send any archival requests to the KRA.
Whenever a new KRA is created or cloned, copy its connector information into all of the cloned CAs in the deployment. To do this, use the
If it is required to do this manually, follow these steps:
- On the master clone machine, open the master CA's
CS.cfgfile, and copy all of the
ca.connector.KRA.*lines for the new KRA connector.
[root@master ~]# vim /var/lib/pki/instance_name/ca/conf/CS.cfg
- Stop the clone CA instance. For example:
[root@clone-ca ~] systemctl stop pki-tomcatd@instance_name.service
- Open the clone CA's
[root@clone-ca ~]# vim /var/lib/pki/instance_name/ca/conf/CS.cfg
- Copy in the connector information for the new KRA instance or clone.
ca.connector.KRA.enable=true ca.connector.KRA.host=server-kra.example.com ca.connector.KRA.local=false ca.connector.KRA.nickName=subsystemCert cert-pki-ca ca.connector.KRA.port=10444 ca.connector.KRA.timeout=30 ca.connector.KRA.transportCert=MIIDbD...ZR0Y2zA== ca.connector.KRA.uri=/kra/agent/kra/connector
- Start the clone CA.
[root@clone-ca ~] systemctl start pki-tomcatd@instance_name.service