add check for ssl.CertificateError