This function lists every domain for which you may purchase an SSL certificate. The possible domains for the Secure Sockets Layer (SSL) certificate include applicable service subdomains.
uapi --output=jsonpretty \ --user=username \ WebVhosts \ list_ssl_capable_domains
{- "apiversion": 3,
- "func": "list_ssl_capable_domains",
- "module": "WebVhosts",
- "result": {
- "data": [
- {
- "domain": "example.com",
- "is_proxy": 1,
- "vhost_name": "hostname.example.com"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}