parse_certificate
Parse an X.509 certificate in PEM format to extract its subject, issuer, and validity dates.
Instructions
Parse X.509 certificate.
Args: certificate_pem: Certificate in PEM format.
Returns: Dictionary with 'subject', 'issuer', 'not_valid_before', 'not_valid_after'.
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_pem": "<certificate_pem>"
},
"name": "parse_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| certificate_pem | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||