simplify the ssl in server