HTTPS Certificate Expiry Check
The check for HTTPS certificate expiry looks at the certificate in the response from a web server.
The “not_after” portion of the certificate is examined to determine if the certificate is expired or not. The result of the monitor check records the number of days before expiry based on the current time.
Important
The Monitor Target attribute for this monitor type MUST be a valid URL with the protocol. e.g. https://canary.kaweka.nz
Note
Certificates do not change multiple times per day or even per week. The frequency of a certificate check only needs to be once per day to give plenty of warning of an upcoming expiry. We recommend 7 days warning for most scenarios.
Monitor Specific Options
| Name | Description | Value Type | Example Value | Required |
|---|---|---|---|---|
| Expiry Warning Period | The number of days before expiry to trigger a notification. | Integer | 7 | TRUE |
| HTTP Port | The port to use for the HTTP connection. | Integer | 443 | TRUE |
Evaluation
The response to the monitor attempt will be evaluated as a TRUE or FALSE depending if the days before expiry from the certificate data are more than or less that the “Expiry Warning Period” you have defined.