Make certificate_read_server_certificate() return BOOL