Certificate check settings
Check fields
These fields are on the form when you add or edit a certificate check. Open it from the domain's Checks tab: choose Add check and then Certificate to add one, or use Edit in a check's More actions menu. How the check uses them is explained in About certificate checks.
| Field | What it does | Default | Limits |
|---|---|---|---|
| Enabled | Switches the check on or off. Shown when you edit a check. A switched-off check does not run. | On | None |
| Name (optional) | The name shown for the check. | The host | Up to 255 characters |
| Name on status pages | How this check appears on status pages. A status page can override it. Shown when you edit a check. | The check's name, or SSL certificate if it has none | Up to 60 characters |
| Host | The host name whose certificate is read. | The domain's host name | A host name only, with no scheme, path or port. Up to 253 characters. Must resolve to a public address |
| Port | The port to connect to. | 443 | 1 to 65535 |
| Warn before expiry (days) | The days remaining at which Alopex warns you, comma separated. | 14, 7, 1 | Whole numbers, each up to 999. Zero is ignored |
| Check that http:// redirects to https:// | Looks at plain http for the host and reports redirect advice. | On | None |
The form's button reads Create check when you add a check and Save check when you edit one.
How the fields behave
Host and port
Alopex connects to the Host on the Port and asks for the certificate for that host name. Enter the host name alone, such as www.example.com. A URL such as https://www.example.com/ is refused.
If the Host is not the domain you added the check to or one of its subdomains, the form says the target is outside the domain and will be treated as a dependency. Its failures show the domain as degraded rather than down.
After you save a different Host or Port, the check runs straight away.
Warn before expiry
List the days with commas, for example 30, 14, 7, 1. Alopex removes duplicates and sorts them from the largest. The largest number is when warnings start: from then on the check reads Expires in N days and Alopex sends a notification the first time the days remaining fall to or below each number. If nothing usable is left in the list, the defaults apply. Entering only 0 therefore gives 14, 7, 1.
When the server presents a new certificate, the warnings start again for it.
HTTPS redirect check
To turn it off, open the check with Edit in its More actions menu, switch off Check that http:// redirects to https://, and select Save check. It is on when you add a check.
The option is advice only. It never marks the domain as degraded and never fails the check. The three findings it can raise are explained in Redirect advice.
Domain settings that apply to the check
One setting on the domain affects certificate checks. Find it under Settings, in General.
| Field | What it does | Default | Choices |
|---|---|---|---|
| Consecutive failures before an incident | How many failed runs in a row open an incident. See Domain settings. | 2 | 1 to 10 |
Check every on the same page does not apply. A certificate check runs once a day, and after 5 minutes while a failure is unconfirmed.