get_certificate_status
Check per-host ESXi management certificate expiry to prevent outages. Returns not_after and days_until_expiry, flagging certificates expiring within a set threshold.
Instructions
[READ] Per-host ESXi management certificate expiry.
An expired ESXi cert drops host management — this surfaces it before the
outage. Returns the list envelope with a real total; each row has host,
not_after, days_until_expiry and an expiring flag, soonest first. Host
certificates only — the vCenter appliance's own certificate is not covered.
Use this alongside get_license_status and get_ntp_status for a platform-hygiene sweep. Renewing a certificate is a write this skill cannot do; use vmware-aiops or vCenter directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max host rows to return (None = all). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| warn_days | No | Flag certs expiring within this many days (default 30). |