Primary server "{0}" is not enabled to accept replication data using certificate-based authentication. Enable this server ...

Primary server "{0}" is not enabled to accept replication data using certificate-based authentication. Enable this server to accept replication data using certificate-based authentication, authorizing the Replica server "{1}" to send replication data, and try again.