perf: 支持ssl.com证书颁发机构

This commit is contained in:
xiaojunnuo
2025-09-04 23:42:03 +08:00
parent 204cbd0209
commit 27b6dfa4d2
7 changed files with 55 additions and 36 deletions

View File

@@ -50,7 +50,7 @@ export type CertInfo = {
one?: string;
p7b?: string;
};
export type SSLProvider = "letsencrypt" | "google" | "zerossl";
export type SSLProvider = "letsencrypt" | "google" | "zerossl" | "sslcom";
export type PrivateKeyType = "rsa_1024" | "rsa_2048" | "rsa_3072" | "rsa_4096" | "ec_256" | "ec_384" | "ec_521";
type AcmeServiceOptions = {
userContext: IContext;
@@ -373,6 +373,7 @@ export class AcmeService {
commonName,
...csrInfo,
altNames,
emailAddress: email,
},
privateKey
);