fix server_cert