Replication fails when you have installed a CA cert