renamed validate_cert_domain => is_cert_domain to be more consistent among code base