# webui.crypto.get_certificate_domain_names

Return the domain names associated with a certificate.

This includes the Common Name (if set) followed by any Subject Alternative Names (SANs).

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: cert_id

#### cert_id

Type: integer

ID of the certificate to extract domain names from.

##

#### Result

Type: array

Array of domain names found in the certificate (CN and SAN entries).

No Additional Items

##### Each item of this array must be:

Type: object

Required roles: READONLY_ADMIN