---
title: "获取证书列表"
method: GET
path: "/api/v1/certificates"
tags: ["证书管理"]
---

# 获取证书列表

`GET /api/v1/certificates`

获取所有SSL/TLS证书列表，支持分页

## Query parameters

- `page` integer
- `size` integer

## Response `200`

获取证书列表成功

- object — 成功的API响应标准格式
  - `code` integer
  - `data` DtoCertificateListResponse — 证书列表响应
    - `items` ModelCertificateStore[] — 证书列表
      - `createdAt` string — 创建时间
      - `description` string — 证书描述
      - `domains` string[] — 证书绑定的域名列表
      - `expireDate` string — 证书过期日期
      - `fingerPrint` string — 证书指纹
      - `id` string — 证书ID
      - `issuerName` string — 颁发机构
      - `name` string — 证书名称/别名
      - `privateKey` string — 私钥内容（PEM格式）
      - `publicKey` string — 公钥内容（PEM格式）
      - `updatedAt` string — 更新时间
    - `total` integer — 总数
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — 未授权访问
- `500` — 服务器内部错误

---

[API](https://skmtc.net/labring/apis/ruiqi-waf-api.md) · [All operations](https://skmtc.net/labring/apis/ruiqi-waf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ruiqi-waf-api/revisions/aaacd7e06a88/schema)
