vs_ssl_check
Check the TLS/SSL certificate details of any hostname, including issuer, validity, SAN list, and certificate chain. Ideal for verifying certificate configuration.
Instructions
Inspect a TLS/SSL certificate for a hostname: issuer, subject, validity dates, SAN list, key algorithm, and certificate chain. No authentication required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>"
},
"name": "vs_ssl_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname to inspect, e.g. example.com (without protocol). | |
| port | No | TCP port. Default 443. |
Implementation Reference
- src/tools.ts:106-111 (handler)The handler function for vs_ssl_check. It calls the Visual Sentinel API endpoint /api/tools/ssl-check with the 'host' (required) and 'port' (optional) query parameters. No authentication is required.
handler: async (args, client) => client.request('GET', '/api/tools/ssl-check', { auth: false, query: { host: requireString(args, 'host'), port: pickNumber(args, 'port') }, }), },