From 260f5ae777b83493b0c578fe30fd00ec0c873226 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 14 Jun 2026 23:18:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Djdk=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugins/plugin-lib/src/cert/convert.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/plugin-lib/src/cert/convert.ts b/packages/plugins/plugin-lib/src/cert/convert.ts index 65e5eff57..211c7ff17 100644 --- a/packages/plugins/plugin-lib/src/cert/convert.ts +++ b/packages/plugins/plugin-lib/src/cert/convert.ts @@ -132,7 +132,7 @@ export class CertConverter { if (!fs.existsSync(dir)) { fs.mkdirSync(dir, { recursive: true }); } - await this.exec(`keytool -importkeystore -srckeystore ${p12Path} -srcstoretype PKCS12 -srcstorepass "${jksPassword}" -destkeystore ${jksPath} -deststoretype PKCS12 -deststorepass "${jksPassword}" `); + await this.exec(`keytool -importkeystore -srckeystore ${p12Path} -srcstoretype PKCS12 -srcstorepass "${jksPassword}" -destkeystore ${jksPath} -deststoretype JKS -deststorepass "${jksPassword}" `); fs.unlinkSync(p12Path); const fileBuffer = fs.readFileSync(jksPath);