SSL Certificate Expiration with SNI for specified hostname

The monitor attempts to establish a connection to the hostname specified in the script arguments (default = monitored node's FQDN). If a valid certificate matching the specified hostname is found, the monitor returns the number of days remaining until the certificate expires.