impl sslCheckCertification()