cpanel_ssl_check
Check SSL certificate status and expiry for domains in a cPanel account to prevent downtime.
Instructions
Check SSL certificate status and expiry for a cPanel account's domains
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account alias from accounts.json (use list_accounts to see options) | |
| cpanel_user | Yes |
Implementation Reference
- src/tools.py:551-552 (handler)Handler for cpanel_ssl_check: calls cPanel UAPI SSL->list_certs to check SSL certificate status and expiry.
case "cpanel_ssl_check": return await _get(client, url("SSL", "list_certs"), headers) - src/tools.py:364-375 (schema)Schema definition for cpanel_ssl_check: requires 'account' and 'cpanel_user' parameters.
Tool( name="cpanel_ssl_check", description="Check SSL certificate status and expiry for a cPanel account's domains", inputSchema={ "type": "object", "properties": { **ACCOUNT_PARAM, "cpanel_user": {"type": "string"} }, "required": ["account", "cpanel_user"] } ), - src/server.py:70-71 (registration)Registration/dispatch: server.py routes cpanel_* tools (including cpanel_ssl_check) to handle_cpanel_tool.
elif name.startswith("cpanel_"): result = await handle_cpanel_tool(client, account, name, arguments)