Skip to content

Updated tls_expiry description to better reflect when host is different to the sni name#1922

Merged
jamesoff merged 1 commit into
jamesoff:developfrom
steven-geo:tls_expiry_sni_improvements
May 30, 2026
Merged

Updated tls_expiry description to better reflect when host is different to the sni name#1922
jamesoff merged 1 commit into
jamesoff:developfrom
steven-geo:tls_expiry_sni_improvements

Conversation

@steven-geo
Copy link
Copy Markdown

This changes the message 'Detail' from the tls_expiry monitor. The update only impacts the detail when sni is specified and the sni is different to the hostname used. This is useful when specifying an IP address name for a host, but still checking for a valid SNI named certificate.

Example Monitor

[mytlsexpirymonitor]
type=tls_expiry
host=1.2.3.4
port=443
min_days=21
sni=mycertificate.com

Original message:
Certificate at 1.2.3.4:443 has 53 days left to expiry

New Message:
Certificate mycertificate.com at 1.2.3.4:443 has 53 days left to expiry

@steven-geo steven-geo changed the title Updated tls_expiry description to better reflecty when host is different to the sni name Updated tls_expiry description to better reflect when host is different to the sni name May 30, 2026
@jamesoff jamesoff merged commit 65abc96 into jamesoff:develop May 30, 2026
18 checks passed
@jamesoff
Copy link
Copy Markdown
Owner

Thanks!

@steven-geo steven-geo deleted the tls_expiry_sni_improvements branch June 2, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants