Opens a TLS connection to your host on port 443, reads the leaf certificate, and warns before expiry. Catches forgotten renewals before they take production down.
Connects to the target host over TLS, reads the peer certificate, and computes days-to-expiry. The check is DOWN once expiry is closer than your configured warning window (default 14 days).
Set the warning window to at least 2× your renewal job cadence. If your renewal runs weekly, warn at 14 days — that gives you one missed renewal of headroom before customers see a broken cert.
curl https://monitorah.com/api/v1/monitors \
-X POST \
-H "Authorization: Bearer mon_live_…" \
-H "Content-Type: application/json" \
-d '{
"name": "My SSL check",
"type": "SSL",
"target": "example.com",
"config": {
"warnDaysBefore": 14
}
}'