TLS hostname verification
152-tls-hostname-verification.yaml
Infrastructure
What this example does
TLS hostname verification.
Checks and behavior
- Checks TLS trust and configured SAN expectation.
Replace example.com, documentation IPs, secrets and thresholds before production use.
YAML configuration
# Checks TLS trust and configured SAN expectation.
name: TLS hostname verification
url: https://api.example.com/health
tls:
verify: true
certificate:
san_contains: [api.example.com]
tests:
status: {allow: [200]}
monitoring: {output: nagios, on_failure: critical}