Add a custom PEM certificate
lucky_add_custom_certUpload a custom certificate and private key to Lucky to secure specified domains with HTTPS, providing an alternative when Let's Encrypt certificates are not available.
Instructions
Upload a custom certificate and private key to Lucky. Prefer lucky_bind_cert for Let's Encrypt certs that already exist in Lucky.
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": {
"name": "<name>",
"domains": "<domains>",
"cert_pem": "<cert_pem>",
"key_pem": "<key_pem>"
},
"name": "lucky_add_custom_cert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| domains | Yes | ||
| enabled | No | ||
| key_pem | Yes | ||
| cert_pem | Yes |