Add CA certificate and server_name settings