update_certificate
Modifies an existing pfSense certificate by ID, letting you update the PEM certificate, private key, or description without creating a duplicate.
Instructions
Update an existing certificate by ID (idempotent)
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": {
"certificate_id": "<certificate_id>"
},
"name": "update_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prv | No | Updated PEM-encoded private key | |
| cert | No | Updated PEM-encoded certificate data | |
| descr | No | Updated descriptive name | |
| certificate_id | Yes | Certificate ID (array index from search_certificates) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||