perf: ssl.com支持ecc

This commit is contained in:
xiaojunnuo
2025-11-24 23:33:25 +08:00
parent 51cc08411f
commit b5ec04723d
4 changed files with 22 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ export class AcmeService {
await this.saveAccountConfig(email, conf);
this.logger.info(`创建新的Accountkey:${email}`);
}
const directoryUrl = acme.directory[this.sslProvider].production;
const directoryUrl = acme.getDirectoryUrl({ sslProvider: this.sslProvider, pkType: this.options.privateKeyType });
if (this.options.useMappingProxy) {
urlMapping.enabled = true;
} else {