ssl_get_cert_files
Download the SSL certificate, chain, and private key for a domain certificate ID, treating the key as sensitive data for secure installation or renewal.
Instructions
Download certificate + chain + key files for a domain cert id.
The private key is returned by DirectAdmin — treat the response as secret.
Args: domain: Domain. cert_id: Certificate id. impersonate: Owning user.
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": {
"domain": "<domain>",
"cert_id": "<cert_id>"
},
"name": "ssl_get_cert_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| cert_id | Yes | ||
| impersonate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |