SSL Certificate Expiration Date monitor (proxy url & protocol name required)

Version 2

    This SSL Certificate Expiration Date monitor allows you to target an HTTPS url and get the expiration date of the SSL Certificate linked to it.

     

    This monitor was created and configured to require you to supply a target HTTPS url, a proxy url & a protocol name.

    Supply the target HTTPS url, the proxy url and the protocol name in the script arguments field, separating each of them with a comma.

     

     

    Example:

    Target URL = https://www.yahoo.com

    Proxy URL = http://mycompanyproxy.local:8080

    Protocol name = TLS1.2

    (Security Protocol name options: Ssl3, Tls, Tls11, Tls12)

     

    Based on the example, the Script Arguments should look like:

     

    https://www.yahoo.com,http://mycompanyproxy.local:8080,tls12

     

     

    The output will have a message and a statistic.

     

    The message will return an output that shows the target HTTPS url, the certIssuername, the certSubject, Remaining Days, and certExpDate.

     

    Message.SSLCertExpiry: targetWebSite = https://www.yahoo.com , certIssuerName = Symantec Corporation , certSubject = CN=www.yahoo.com , Remaining Days Before Expiration = 104 day(s) , certExpDate = 10/30/2017 7:59:59 PM (date/time mentioned follows SW Server's Timezone).

     

     

    The statistic will reflect the Number of Remaining Days Before Expiration.

     

    Statistic.SSLCertExpiry: 104

     

     

    If the first poll ends up in error, the monitor will be put on hold for 45 seconds.

    After that 45 second hold/sleep time, the monitor will check the SSL Certificate expiration date again.

    If in this second attempt the poll ends up in error, the monitor will again be put on hold for 45 seconds.

    After that 45 second hold/sleep time, the monitor will run its 3rd and final attempt to get  the SSL Certificate expiration date.

    If this 3rd attempt fails, that's the only time that the monitor will get a down status in SAM.