roma__AssociateCertificateV2
Associates an SSL certificate with a ROMA independent domain to support HTTPS API requests that require certificate binding.
Instructions
[ROMA] 如果创建API时,“定义API请求”使用HTTPS请求协议,那么在独立域名中需要添加SSL证书。
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": {
"cert_content": "<cert_content>",
"domain_id": "<domain_id>",
"group_id": "<group_id>",
"instance_id": "<instance_id>",
"name": "<name>",
"private_key": "<private_key>",
"project_id": "<project_id>"
},
"name": "roma__AssociateCertificateV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 | |
| type | No | 证书可见范围 | global |
| group_id | Yes | 分组的编号 | |
| domain_id | Yes | 域名的编号 | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 所属实例ID,当type=instance时必填 | |
| private_key | Yes | 证书私钥 | |
| cert_content | Yes | 证书内容 | |
| trusted_root_ca | No | 信任的根证书CA |