Use CertificateManager for configuration
Get server certificate from selected endpoint