Fix the ssl for server part