For legacy reasons, if the ssldomain_matches_cert value is 0, then the function will always return a value of 1 for the is_self_signed return, regardless of whether the certificate is actually self-signed.

1 — The certificate is self-signed.

0 — The certificate is not self-signed.

1

cert_match_method

string

The method that the system used to match the domain with the certificate.

none — No domain matches the certificate.

exact — The domain exactly matches the certificate.

exact-wildcard — The domain exactly matches the domain of a wildcard certificate.

mail-wildcard — The mail subdomain of the domain matches the domain of the wildcard certificate.

www-wildcard — The www subdomain of the domain matches the domain of the wildcard certificate.

hostname-wildcard — The hostname's domain matches the domain of the wildcard certificate.

hostname — The hostname matches the domain of the certificate.

localdomain_on_cert-mail-wildcard — Any mail subdomain of any domain on the server matches the certificate.

localdomain_on_cert-www-wildcard — Any www subdomain of any domain on the server matches the certificate.

localdomain_on_cert — Any domain on the server matches the certificate.

cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.