apig__AssociateCertificate
Associates an SSL certificate with an API Gateway independent domain to enable HTTPS API requests.
Instructions
[APIG] 如果创建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>",
"name": "<name>",
"private_key": "<private_key>"
},
"name": "apig__AssociateCertificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 | |
| group_id | Yes | 分组的编号 | |
| domain_id | Yes | 域名的编号 | |
| private_key | Yes | 私钥内容 | |
| cert_content | Yes | 证书内容 |