enable ssl for localhost