perf: 新增阿里云直播证书部署插件

This commit is contained in:
xiaojunnuo
2026-05-22 19:06:55 +08:00
parent b30f02a1fb
commit 8edb6f8727
8 changed files with 173 additions and 8 deletions
@@ -38,7 +38,7 @@ export type Providers = {
export type CertInfo = {
crt: string; //fullchain证书
key: string; //私钥
csr: string; //csr
csr?: string; //csr
oc?: string; //仅证书,非fullchain证书
ic?: string; //中间证书
pfx?: string;
@@ -194,7 +194,7 @@ cert.jksjks格式证书文件,java服务器使用
return pem;
}
formatCerts(cert: { crt: string; key: string; csr: string }) {
formatCerts(cert: { crt: string; key: string; csr?: string }) {
const newCert: CertInfo = {
crt: this.formatCert(cert.crt),
key: this.formatCert(cert.key),