Try the ldapsearch test command using ldaps:// instead of ldap:// In case of error, use the "trust anchor" command to verify the issuers of the LDAPS SSL server certificate(s) is/are trusted on each system. Verify the LDAP access and errors log events for connections from the system running the PKI service. The LDAP access log should show the incoming connection, and the LDAP errors log events should show the replication activity for start and progress. Also, verify the CA's debug log file for events related to LDAP connections. Thanks, M. On Sun, Nov 29, 2026 at 7:44 AM luca.cavana--- via Pki-users < users@lists.dogtagpki.org> wrote:
Hello,
running dogtag 11.9.0-1.fc44.3 and trying to create a clone of a freshly installed Root CA, pkispawn hangs indefinitely at setting up replication.
Both DS instances use certificates that are created from the root.
-- pkispawn output -- INFO: Setting up replication INFO: - master replication port: INFO: - replica replication port: INFO: - internaldb.ldapconn.port: 636 INFO: - internaldb.ldapconn.secureConn: true INFO: - replication security: TLS INFO: Enable replication on master DEBUG: Command: pki-server -i rsa-rootca-g1 ca-db-repl-enable --ldap-config /tmp/tmppcyh2t6c/ldap.conf --replica-bind-dn cn=Replication Manager masterAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1,ou=csusers,cn=config --replica-bind-password-file /tmp/tmppcyh2t6c/password.txt --debug INFO: Enable replication on replica DEBUG: Command: pki-server -i rsa-rootca-g1 ca-db-repl-enable --ldap-config /tmp/tmpq_6ijpqs/ldap.conf --replica-bind-dn cn=Replication Manager cloneAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1,ou=csusers,cn=config --replica-bind-password-file /tmp/tmpq_6ijpqs/password.txt --debug INFO: Adding master replication agreement INFO: - replica URL: ldap://ittre01rca81.cavanasystems.com:636 DEBUG: Command: pki-server -i rsa-rootca-g1 ca-db-repl-agmt-add --ldap-config /tmp/tmp3fl847jp/ldap.conf --replica-url ldap:// ittre01rca81.cavanasystems.com:636 --replica-bind-dn cn=Replication Manager cloneAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1,ou=csusers,cn=config --replica-bind-password-file /tmp/tmp3fl847jp/password.txt --replication-security TLS --debug masterAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1 INFO: Adding replica replication agreement INFO: - master URL: ldap://ittre01rca80.cavanasystems.com:636 DEBUG: Command: pki-server -i rsa-rootca-g1 ca-db-repl-agmt-add --ldap-config /tmp/tmpztrdy_re/ldap.conf --replica-url ldap:// ittre01rca80.cavanasystems.com:636 --replica-bind-dn cn=Replication Manager masterAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1,ou=csusers,cn=config --replica-bind-password-file /tmp/tmpztrdy_re/password.txt --replication-security TLS --debug cloneAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1 INFO: Initializing replication agreement DEBUG: Command: pki-server -i rsa-rootca-g1 ca-db-repl-agmt-init --ldap-config /tmp/tmp3ey2tef4/ldap.conf --debug masterAgreement1-ittre01rca81.cavanasystems.com-rsa-rootca-g1
without ever continuing. both nodes are reachable from each other by, for instance, trying:: ldapsearch -H ldap://ittre01rca80.cavanasystems.com -Z -x -D "cn=Directory Manager" -w pass -b cn=RSA,cn=encryption,cn=config ldapsearch -H ldap://ittre01rca81.cavanasystems.com -Z -x -D "cn=Directory Manager" -w pass -b cn=RSA,cn=encryption,cn=config
I don't see any error in the 389 log, actually it looks like the replication agreement is created: -- on one host -- Nov 29 15:35:55 systemd[1]: Started dirsrv@localhost.service - 389 Directory Server localhost.. Nov 29 15:35:58 ns-slapd[881]: [29/Nov/2026:15:35:58.965750191 +0100] - INFO - vattr_check_thread - No role/cos definition in dc=cavanasystems,dc=com Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.516212114 +0100] - INFO - ldbm_instance_config_cachememsize_set - force a minimal value 512000 Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.532506493 +0100] - NOTICE - attrcrypt_cipher_init - No symmetric key found for cipher AES in backend rsa-rootca-g1-ldap, attempting to create one... Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.536030808 +0100] - INFO - attrcrypt_cipher_init - Key for cipher AES successfully generated and stored Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.536562693 +0100] - NOTICE - attrcrypt_cipher_init - No symmetric key found for cipher 3DES in backend rsa-rootca-g1-ldap, attempting to create one... Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.539421988 +0100] - INFO - attrcrypt_cipher_init - Key for cipher 3DES successfully generated and stored Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.540486482 +0100] - NOTICE - mdb_start_autotune - found 1.8 GB physical memory Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.540760670 +0100] - NOTICE - mdb_start_autotune - found 1.2 GB available Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.541007343 +0100] - NOTICE - mdb_start_autotune - cache autosizing: userroot entry cache (2 total): 384.0 MB Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.542168091 +0100] - NOTICE - mdb_start_autotune - cache autosizing: userroot dn cache (2 total): 64.0 MB Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.542518597 +0100] - NOTICE - mdb_start_autotune - cache autosizing: rsa-rootca-g1-ldap entry cache (2 total): 64.0 MB Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.542838723 +0100] - NOTICE - mdb_start_autotune - cache autosizing: rsa-rootca-g1-ldap dn cache (2 total): 64.0 MB Nov 29 15:49:47 ns-slapd[881]: [29/Nov/2026:15:49:47.543190671 +0100] - NOTICE - mdb_start_autotune - total cache size: 576.0 MB Nov 29 15:49:49 ns-slapd[881]: [29/Nov/2026:15:49:49.101898854 +0100] - NOTICE - dse_modify - A plugin has been enabled or disabled, but nsslapd-dynamic-plugins is off. A server restart is required to change this plugin state. Nov 29 15:49:51 ns-slapd[881]: [29/Nov/2026:15:49:51.972795928 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - changelog5_config_add - Separate changelog no longer supported; use cn=changelog,<backend> instead Nov 29 15:49:51 ns-slapd[881]: [29/Nov/2026:15:49:51.982417966 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUVs - Rebuilding the replication changelog RUV, this may take several minutes... Nov 29 15:49:51 ns-slapd[881]: [29/Nov/2026:15:49:51.982882967 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUVs - Rebuilding replication changelog RUV complete. Result 0 (Success)
-- on the other host -- Nov 29 15:13:08 systemd[1]: Started dirsrv@localhost.service - 389 Directory Server localhost.. Nov 29 15:13:11 ns-slapd[913]: [29/Nov/2026:15:13:11.723692300 +0100] - INFO - vattr_check_thread - No role/cos definition in dc=cavanasystems,dc=com Nov 29 15:13:11 ns-slapd[913]: [29/Nov/2026:15:13:11.724498994 +0100] - INFO - vattr_check_thread - No role/cos definition in o=rsa-rootca-g1-CA Nov 29 15:49:51 ns-slapd[913]: [29/Nov/2026:15:49:51.545990799 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - changelog5_config_add - Separate changelog no longer supported; use cn=changelog,<backend> instead Nov 29 15:49:51 ns-slapd[913]: [29/Nov/2026:15:49:51.553206618 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUVs - Rebuilding the replication changelog RUV, this may take several minutes... Nov 29 15:49:51 ns-slapd[913]: [29/Nov/2026:15:49:51.553670146 +0100] - NOTICE - NSMMReplicationPlugin - changelog program - _cl5ConstructRUVs - Rebuilding replication changelog RUV complete. Result 0 (Success)
It just sits there and waits, never timing out. Has anyone have any idea?
Thank you, Luca _______________________________________________ Pki-users mailing list -- users@lists.dogtagpki.org To unsubscribe send an email to users-leave@lists.dogtagpki.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s