• 首页
  • 文档
  • 插件市场
  • 生态
    证书工具
    SSL 自动化
  • 证书工具
  • SSL 自动化
  • 注册/登录
|
  • 阿里云
  • 腾讯云
  • 华为云
  • 百度云
  • 七牛云
  • 宝塔面板
  • WebHook
  • FTP/SFTP
  • API 开放接口

SSL 证书自动化 API 开放接口

  • 接口地址 https://zsite.cc
  • 验证方式 Authorization: Bearer 请求头(Request Header)
  • 请登录管理后台,点击右上角菜单进入接口安全页面管理 Token
  • 具体用法请移步查看接口文档

SSL 证书自动化 cURL 示例

# 以 rid 为 a2c 的证书申请单,Token 为 eyJhbGci... 为例

# 获取最新证书,响应 Content-Type: application/json
curl --request GET "https://zsite.cc/open/ssl/latest/a2c" \
--header "Authorization: Bearer eyJhbGci..."

# 私钥
# 获取最新证书的 PEM 格式私钥保存为 example.com.key 文件
curl --request GET "https://zsite.cc/open/ssl/latest/a2c/key" \
--header "Authorization: Bearer eyJhbGci..." --output "example.com.key"

# 完整证书保存为 example.com.crt文件
curl --request GET "https://zsite.cc/open/ssl/latest/a2c/certificate" \
--header "Authorization: Bearer eyJhbGci..." --output "example.com.crt"

# 证书保存为 example.com.crt 文件
curl --request GET "https://zsite.cc/open/ssl/latest/a2c/certificateServer" \
--header "Authorization: Bearer eyJhbGci..." --output "example.com.crt"

# 证书链保存为 example.com-chain.crt 文件
curl --request GET "https://zsite.cc/open/ssl/latest/a2c/certificateChain" \
--header "Authorization: Bearer eyJhbGci..." --output "example.com-chain.crt"
© 2026 Z站 版权所有
蜀ICP备2023033042号-1