ccm__CreateCertificate
Requests a new X.509 certificate from a specified parent CA by defining subject details, key and signature algorithms, validity period, and optional usages or SANs.
Instructions
[CCM] 申请证书。
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": {
"distinguished_name": "<distinguished_name>",
"issuer_id": "<issuer_id>",
"key_algorithm": "<key_algorithm>",
"signature_algorithm": "<signature_algorithm>",
"validity": "<validity>"
},
"name": "ccm__CreateCertificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validity | Yes | 证书有效期,分以下三种情况: | |
| issuer_id | Yes | 父CA证书ID。 | |
| key_usages | No | 密钥用法,具体标准参见RFC 5280中:[4.2.1.3节](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3)。 | |
| key_algorithm | Yes | 密钥算法,可选值如下: | |
| distinguished_name | Yes | 证书名称配置,详情请参见**CertDistinguishedName**字段数据结构说明。 | |
| extended_key_usage | No | 增强型密钥用法,详情请参见**ExtendedKeyUsage**字段数据结构说明。 | |
| signature_algorithm | Yes | 签名哈希算法,可选值如下: | |
| customized_extension | No | 自定义扩展信息,详情请参见**CustomizedExtension**字段数据结构说明。 | |
| enterprise_project_id | No | 企业多项目ID。用户未开通企业多项目时,不需要输入该字段。 用户开通企业多项目时,查询资源可以输入该字段。 若用户不输入该字段,默认查询租户所有有权限的企业多项目下的资源。 此时“enterprise_project_id”取值为“all”。 若用户输入该字段,取值满足以下任一条件. | |
| subject_alternative_names | No | 主体备用名称,详情请参见**SubjectAlternativeName**字段数据结构说明。 |