Enable or disable SSL from a Replication Agent (as a client) using the ra_config with the pds_use_ssl option.
ra_config pds_use_ssl, true
ra_config pds_port_number, 2484