fixed ssl validation bug on 2.3