Fix ssl protocol