renew_cert
续签已有的 ACME 证书,使用原订单的验证方式和 DNS 配置。
- 路由:
POST /acme - action:
renew_cert
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 renew_cert |
| index | 是 | String | 要续签的订单索引 ID |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| status | Boolean | true 续签成功 |
| msg | String | 申请成功! |
| cert | String | 新的证书链(PEM 格式) |
| cert_timeout | Integer | 新的到期时间戳 |
示例
请求
POST /acme HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded
action=renew_cert&index=851cc157ad22888459e59c3cfdc5ac95
响应
{"status": true, "msg": "续签成功!"}