Update the properties of the replication related configuration.
void updateReplicationConfiguration(SUPConfigurationComponentVO configurationComponent) throws SUPAdminException;
If successful, returns silently. If unsuccessful, throws SUPAdminException.
supConf.updateReplicationConfiguration(confVO) confVO.getProperties().put("sup.sync.port", "2480"); confVO.getProperties().put("sup.sync.httpsport", "2481"); confVO.getProperties().put("sup.sync.protocol", "http,https"); confVO.getProperties().put("sup.sync.e2ee_type", "RSA"); confVO.getProperties().put("sup.sync.e2ee.alias", "sample1"); confVO.getProperties().put("sup.sync.mutualhttpsport", "2482"); confVO.getProperties().put("sup.sync.certificate.alias", "sample1"); confVO.getProperties().put("sup.sync.public.certificate", "Repository/Certificate/https_public_cert.crt"); confVO.getProperties().put("relay.server.trusted_certs.alias", "sample1"); confVO.getProperties().put("sup.user.options", "-zf"); supConf.updateReplicationMessagingConfiguration(confVO); supConf.commitClusterConfiguration();
To use a certificate alias for a security profile, select a PrivateKeyEntry alias (Has Private Key is true) in the keystore:
When setting relay.server.trusted_certs.alias, select any alias in the keystore to use as the trusted Relay Server certificate alias.