check_hostname_rfc6125_san
Validates target hostnames and IPv4/IPv6 literals against X.509 SubjectAltName DNS/IP entries per RFC 6125, detecting bare-apex and multi-level wildcard mismatches.
Instructions
Validates target hostnames and IPv4/IPv6 literals against X.509 SubjectAltName DNS/IP entries per RFC 6125, catching bare-apex *.example.com and multi-level wildcard traps.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_hostname_rfc6125_san"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| certPem | No | X.509 PEM certificate or bundle whose leaf SubjectAltName extension will be checked. | |
| certPath | No | Optional local file path to the X.509 certificate when certPem is omitted. | |
| hostname | No | Single target hostname or IP literal (e.g. "example.com", "api.v2.example.com", or "10.20.30.40"). | |
| hostnames | No | Optional list of multiple target hostnames or IP literals to validate in one call. |