Mwnci sitecertsans() Function

Syntax

sitecertsans(string)

Description

The sitecertsans() function returns an an array of all the domains covered by the certificate for the given domain name.
If the date cannot be read, or unable to retrieve the information, false is returned.

Example

include("cert")
Sans=sitecertsans("debian.org")
println("The domains covered are: ", Sans)


The domains covered are: ["debian.org", "www-fastly.debian.org"]