Skip to content

feat(tencent-ssl): add Tencent SSL Certificate service package#280

Open
dingzhejianjian wants to merge 1 commit into
chaitin:mainfrom
dingzhejianjian:dingzhejianjian-patch-2
Open

feat(tencent-ssl): add Tencent SSL Certificate service package#280
dingzhejianjian wants to merge 1 commit into
chaitin:mainfrom
dingzhejianjian:dingzhejianjian-patch-2

Conversation

@dingzhejianjian

Copy link
Copy Markdown

接入设备

腾讯云 SSL 证书(SSL Certificate),提供证书申请、管理、部署一站式服务,支持免费证书和付费证书。

设备版本

SSL Certificate,API 版本 2019-12-05,请求域名 ssl.tencentcloudapi.com

认证方式

腾讯云 API 密钥(SecretId + SecretKey),TC3-HMAC-SHA256 签名

实现方法

方法 后端 API 类型 说明
ListCertificates DescribeCertificates 查询证书列表
GetCertificate DescribeCertificateDetail 查询证书详情

代码结构

services/tencent__ssl/
├── service.json
├── package.json
├── proto/tencent_ssl.proto
├── bin/tencent-ssl.js
├── src/service.js
├── src/tencent-ssl.js
├── config.schema.json
├── secret.schema.json
├── README.md
└── test/tencent-ssl.test.js

联调证据

$ docker exec octobus curl -s -X POST
"http://127.0.0.1:9000/capsets/ssl-dev/connect/ssl-live/Tencent_SSL.Tencent_SSL/ListCertificates" -H "Content-Type: application/json"
-d "{}"

{"data":[{"id":"Yi******", "domain":"***.top", "certType":"SVR", "status":"证书审核中", "createTime":"2026-06-25 22:21:22"}],
"total":1}

测试结果

npm test -- --service-dir tencent__ssl
✔ 10 tests passed
npm run validate -- --service-dir tencent__ssl
service package naming checks passed

关联 Issue

Closes #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

腾讯_SSL证书(Tencent_SSL)

1 participant