Currently when setting up PKI replication the DS master's credentials are transferred PKI clone such that the clone can create the replication agreements on DS master and clone. There are some issues with this mechanism:
To address these problems, the replication agreement for the DS master has to be created separately. This can be done transparently with a single command, for example:
$ pki-server replica-prepare <clone's hostname>
This command should prepare everything needed to setup a replication on the master's side, which includes:
This will also help troubleshooting cloning issues since now it will be possible to verify that the master has everything needed for cloning before even starting the installation on the clone.
Also note that IPA already uses the same mechanism, but this mechanism should be supported formally by PKI.
Per discussions with alee and edewata: 10.4
Additionaly, the command can also create the security domain entry for the clone so the clone no longer needs to modify the security domain due to the same concerns above.
Metadata Update from @edewata: - Issue set to the milestone: UNTRIAGED
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2473
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)