2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 11:23:44 +08:00

feat: 支持签发自签名证书

This commit is contained in:
耗子
2024-10-27 04:17:58 +08:00
parent 9179543b7f
commit aed35990bc
7 changed files with 61 additions and 4 deletions

View File

@@ -53,6 +53,9 @@ export default {
// 证书手动签发
obtainManual: (id: number): Promise<AxiosResponse<any>> =>
request.post(`/cert/cert/${id}/obtainManual`, { id }),
// 证书自签名签发
obtainSelfSigned: (id: number): Promise<AxiosResponse<any>> =>
request.post(`/cert/cert/${id}/obtainSelfSigned`, { id }),
// 续签
renew: (id: number): Promise<AxiosResponse<any>> =>
request.post(`/cert/cert/${id}/renew`, { id }),