Fix load certificate for Server API.