apply_ssl
Enable SSL for a website hosted on 1Panel by providing website ID, certificate, private key, and SSL type to activate HTTPS access.
Instructions
Apply SSL to website
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": {
"websiteId": "<websiteId>",
"type": "<type>",
"enable": "<enable>"
},
"name": "apply_ssl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| enable | Yes | ||
| websiteId | Yes | ||
| httpConfig | No | ||
| privateKey | No | ||
| certificate | No | ||
| websiteSSLId | No |