generate_self_signed_cert
Generate a self-signed X.509 certificate with a common name, optional organization, and validity period. Returns PEM-encoded certificate and private key.
Instructions
Generate a self-signed X.509 certificate.
Args: common_name: Common name for the certificate subject. organization: Organization name (optional). days_valid: Number of days the certificate is valid (default 365).
Returns: Dictionary with 'certificate' (PEM) and 'private_key' (PEM).
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": {
"common_name": "<common_name>"
},
"name": "generate_self_signed_cert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_valid | No | ||
| common_name | Yes | ||
| organization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||