perf(certd-server): 使用 jks-go转换jks证书,大幅精简镜像大小

This commit is contained in:
xiaojunnuo
2026-07-07 00:12:37 +08:00
parent 20cfe74b17
commit c78898e4c1
6 changed files with 117 additions and 20 deletions
@@ -100,7 +100,7 @@ export abstract class CertApplyBaseConvertPlugin extends AbstractTaskPlugin {
}
this._result.pipelinePrivateVars.cert = cert;
if (isNew || !cert.pfx) {
if (isNew || !cert.pfx || !cert.der || !cert.jks || !cert.p7b) {
try {
const converter = new CertConverter({ logger: this.logger });
const res = await converter.convert({