diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/docs/README_ZH.md b/docs/README_ZH.md new file mode 100644 index 0000000000000000000000000000000000000000..2e321a3e741fadb45292d946b258cf74252000dc --- /dev/null +++ b/docs/README_ZH.md @@ -0,0 +1,241 @@ +# Hap包签名工具 + +* 介绍 +* 安装教程 +* 使用说明 +* 一键签名脚本 +* (附)命令说明 + +#### 介绍 +为了保证OpenHarmony应用的完整性和来源可靠,在应用构建时需要对应用进行签名,才能在使用真机设备上安装、运行和调试该应用。本仓提供了一个具有证书生成、hap包签名等功能的jar工具包。 + +#### 安装教程 +1. 配置编译环境 :Gradle 7.1,JDK 8 +2. 下载代码 +3. 命令行打开文件至developtools_hapsigner/hapsigntool目录下 +4. **gradle build** 或 **gradle jar**编译生成jar +5. 文件在./hap_sign_tool/build/libs/hap_sign_tool-xxxx.jar + +#### 目录 + +```undefined +├─gradle +├─hap_sign_tool +│ └─src +│ ├─main +│ │ ├─java +│ │ │ └─com +│ │ │ └─ohos +│ │ │ ├─hapsigntool +│ │ │ └─hapsigntoolcmd +│ │ └─resources +│ └─test +│ ├─java +│ │ └─com +│ │ └─ohos +│ │ ├─hapsigntool +│ │ └─hapsigntoolcmd +│ └─resources +├─hap_sign_tool_lib +│ └─src +│ ├─main +│ │ ├─java +│ │ │ └─com +│ │ │ └─ohos +│ │ │ └─hapsigntool +│ │ │ ├─api +│ │ │ ├─cert +│ │ │ ├─hap +│ │ │ ├─key +│ │ │ ├─keystore +│ │ │ ├─profile +│ │ │ ├─signer +│ │ │ ├─utils +│ │ │ └─zip +│ │ └─resources +│ └─test +│ ├─java +│ │ └─com +│ │ └─ohos +│ │ └─hapsigntool +│ │ ├─api +│ │ ├─cert +│ │ ├─hap +│ │ ├─key +│ │ ├─keystore +│ │ ├─profile +│ │ ├─signer +│ │ ├─utils +│ │ └─zip +│ └─resources +├─README +├─README_zh +└─tool +``` + +#### 使用说明 +命令示例: + +```shell +java -jar <签名工具.jar> <命令> <参数...> +``` + +完整使用示例: +```shell +java -jar hap_sign_tool.jar generate-csr -keyAlias "oh-app1-key-v1" -keyPwd ***** -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withECDSA -keystoreFile "D:\OH\ohtest.jks" -keystorePwd ***** -outFile "D:\OH\oh-app1-key-v1.csr" +``` + +也可以使用 -help 查看完整使用说明 +```shell +java -jar hap_sign_tool.jar -help +``` +**** + +#### 一键签名脚本 +使用一键签名脚本,免于输入繁杂的命令 + +打开本项目子目录autosign可见: +* start_create.sh/start_create.bat +* start_sign.sh/start_sign.bat +* auto_sign_main.py +* auto_sign.conf + +操作流程 +1. 脚本依赖环境python3.x +2. 脚本依赖hap_sign_tool.jar(参照上文编译生成的产物) +3. 准备好待签名的应用hap包和Provision profile模板文件 +4. 使用文本编辑器编辑auto_sign.conf,补全配置文件中的配置 +5. Linux运行start_create.sh、Windows运行start_create.bat生成签名所需文件 +6. Linux运行start_sign.sh、Windows运行start_sign.bat对hap包进行签名 + +**** +#### (附)命令说明: +##### 生成密钥对 +* generate-keypair : 生成密钥对 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -keyAlg : 密钥算法,必填项,包括RSA/ECC; + * -keySize : 密钥长度,必填项,RSA算法的长度为2048/3072/4096,ECC算法的长度NIST-P-256/NIST-P-384; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + +##### 生成证书签名请求 +* generate-csr : 生成证书签名请求 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -subject : 证书主题,必填项; + * -signAlg : 签名算法,必填项,包括SHA256withRSA / SHA384withRSA / SHA256withECDSA / SHA384withECDSA; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outFile : 输出文件,可选项,如果不填,则直接输出到控制台; + +##### 生成根CA/子CA证书 +* generate-ca : 生成根CA/子CA证书,如果密钥不存在,一起生成密钥 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -keyAlg : 密钥算法,必填项,包括RSA/ECC; + * -keySize : 密钥长度,必填项,RSA算法的长度为2048/3072/4096,ECC算法的长度NIST-P-256/NIST-P-384; + * -issuer : 颁发者的主题,可选项,如果不填,表示根CA + * -issuerKeyAlias : 颁发者的密钥别名,可选项,如果不填,表示根CA; + * -issuerKeyPwd : 颁发者的密钥口令,可选项 + * -subject : 证书主题,必填项; + * -validity : 证书有效期,可选项,默认为3650天; + * -signAlg : 签名算法,必填项,包括SHA256withRSA / SHA384withRSA / SHA256withECDSA / SHA384withECDSA; + * -basicConstraintsPathLen : 路径长度,可选项,默认为0; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outFile : 输出证书文件,可选项,如果不填,则直接输出到控制台; + +##### 生成应用调试/发布证书 +* generate-app-cert : 生成应用调试/发布证书 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -issuer : 颁发者的主题,必填项; + * -issuerKeyAlias : 颁发者的密钥别名,必填项; + * -issuerKeyPwd : 颁发者的密钥口令,可选项; + * -subject : 证书主题,必填项; + * -validity : 证书有效期,可选项,默认为1095天; + * -signAlg : 签名算法,必填项,包括SHA256withECDSA / SHA384withECDSA; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outForm: 输出证书文件的格式,包括 cert / certChain,可选项,默认为certChain; + * -rootCaCertFile: outForm为certChain时必填,根CA证书文件; + * -subCaCertFile: outForm为certChain时必填,二级子CA证书文件; + * -outFile : 输出证书文件(证书或证书链),可选项,如果不填,则直接输出到控制台; + +##### 生成应用调试/发布证书 +* generate-profile-cert : 生成profile调试/发布证书 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -issuer : 颁发者的主题,必填项; + * -issuerKeyAlias : 颁发者的密钥别名,必填项; + * -issuerKeyPwd : 颁发者的密钥口令,可选项; + * -subject : 证书主题,必填项; + * -validity : 证书有效期,可选项,默认为1095天; + * -signAlg : 签名算法,必填项,包括SHA256withECDSA / SHA384withECDSA; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outForm: 输出证书文件的格式,包括 cert / certChain,可选项,默认为certChain; + * -rootCaCertFile: outForm为certChain时必填,根CA证书文件; + * -subCaCertFile: outForm为certChain时必填,二级子CA证书文件; + * -outFile : 输出证书文件(证书或证书链),可选项,如果不填,则直接输出到控制台; + +##### 通用证书生成,可以生成自定义证书 +* generate-cert : 通用证书生成,可以生成自定义证书 + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -issuer : 颁发者的主题,必填项; + * -issuerKeyAlias : 颁发者的密钥别名,必填项; + * -issuerKeyPwd : 颁发者的密钥口令,可选项; + * -subject : 证书主题,必填项; + * -validity : 证书有效期,可选项,默认为1095天; + * -keyUsage : 密钥用法,必选项,包括digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment, keyAgreement, certificateSignature, crlSignature, encipherOnly和decipherOnly,如果证书包括多个密钥用法,用逗号分隔; + * -keyUsageCritical : keyUsage是否为关键项,可选项,默认为是; + * -extKeyUsage : 扩展密钥用法,可选项,包括clientAuthentication,serverAuthentication,codeSignature,emailProtection,smartCardLogin,timestamp,ocspSignature; + * -extKeyUsageCritical : extKeyUsage是否为关键项,可选项,默认为否; + * -signAlg : 签名算法,必填项,包括SHA256withRSA / SHA384withRSA / SHA256withECDSA / SHA384withECDSA; + * -basicConstraints : 是否包含basicConstraints,可选项,默认为否; + * -basicConstraintsCritical : basicConstraints是否包含为关键项,可选项,默认为否; + * -basicConstraintsCa : 是否为CA,可选项,默认为否; + * -basicConstraintsPathLen : 路径长度,可选项,默认为0; + * -keystoreFile : 密钥库文件,必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outFile : 输出证书文件,可选项,如果不填,则直接输出到控制台; + +##### ProvisionProfile文件签名 +* sign-profile : ProvisionProfile文件签名 + * -mode : 签名模式,必填项,包括localSign,remoteSign; + * -keyAlias : 密钥别名,必填项; + * -keyPwd : 密钥口令,可选项; + * -profileCertFile : Profile签名证书(证书链,顺序为三级-二级-根),必填项; + * -inFile : 输入的原始Provision Profile文件,必填项; + * -signAlg : 签名算法,必填项,包括SHA256withECDSA / SHA384withECDSA; + * -keystoreFile : 密钥库文件,localSign模式时为必填项,JKS或P12格式; + * -keystorePwd : 密钥库口令,可选项; + * -outFile : 输出签名后的Provision Profile文件,p7b格式,必填项; + +##### ProvisionProfile文件验签 +* verify-profile : ProvisionProfile文件验签 + * -inFile:已签名的Provision Profile文件,p7b格式,必填项; + * -outFile:验证结果文件(包含验证结果和profile内容),json格式,可选项;如果不填,则直接输出到控制台; + +##### hap应用包签名 +* sign-app : hap应用包签名 + * -mode:签名模式,必填项,包括localSign,remoteSign,remoteResign; + * -keyAlias:密钥别名,必填项; + * -keyPwd:密钥口令,可选项; + * -appCertFile:应用签名证书文件(证书链,顺序为三级-二级-根),必填项; + * -profileFile:签名后的Provision Profile文件名,p7b格式,必填项; + * -profileSigned:指示profile文件是否带有签名,1表示有签名,0表示没有签名,默认为1。可选项; + * -inForm:输入的原始文件的格式,zip格式或bin格式,默认zip格式;可选项; + * -inFile:输入的原始APP包文件,hap格式或bin格式,必填项; + * -signAlg:签名算法,必填项,包括SHA256withECDSA / SHA384withECDSA; + * -keystoreFile:密钥库文件,localSign模式时为必填项,JKS或P12格式; + * -keystorePwd: 密钥库口令,可选项; + * -outFile: 输出签名后的包文件,必填项; + +##### hap应用包文件验签 +* verify-app : hap应用包文件验签 + * -inFile:已签名的应用包文件,hap格式或bin格式,必填项; + * -outCertchain:签名的证书链文件,必填项; + * -outProfile:应用包中的profile文件,必填项; diff --git a/docs/guide.md b/docs/guide.md new file mode 100644 index 0000000000000000000000000000000000000000..d9aa593a62d6ad17f5682b42e5974ba7529350bd --- /dev/null +++ b/docs/guide.md @@ -0,0 +1,50 @@ +# 签名库开发指导 + + +## 场景介绍 +签名库主要提供了以下功能: +* 秘钥对生成 +* 证书签发 +* profile签名 +* hap应用签名 + + +## 接口说明 + + +签名库开放能力如下:SignToolServiceImpl类,具体的API详见接口文档。 + +**表1** 签名库API接口功能介绍 + +| 接口名 | 描述 | +| -------- | -------- | +| boolean generateKeyStore(Options options) | 生成秘钥对,并保存至对应秘钥库 | +| boolean generateCsr(Options options) | 生成证书请求 csr | +| boolean generateCert(Options options) | 通用证书生成方法 | +| boolean generateCA(Options options) | 生成一二级证书 | +| boolean generateAppCert(Options options) | 生成App签名证书(三级证书) | +| boolean generateProfileCert(Options options) | 生成Profile签名证书(三级证书) | +| boolean signProfile(Options options) | 对Profile文件进行签名 | +| boolean verifyProfile(Options options) | 对已签名profile(.p7b)文件进行验证 | +| boolean signHap(Options options) | 对未签名鸿蒙应用进行签名 | +| boolean verifyHap(Options options) | 对已签名应用包文件进行验证) | + + +## 开发步骤 + +1. 使用签名库,需要初始化 ServiceApi +``` + ServiceApi api = new SignToolServiceImpl(); +``` +2. 根据使用目的,完成参数填入 +```java + Options options = new Options(); + options.put(Options.ISSUER, "subject"); + options.put(Options.SIGN_ALG, "SHA384withRSA"); + ... +``` +3. 调用对应接口,完成使用 +```java + api.generateCA(params); +``` + diff --git a/docs/js.md b/docs/js.md new file mode 100644 index 0000000000000000000000000000000000000000..9068cc9322049e92daa379e122d5dc482b01e2b8 --- /dev/null +++ b/docs/js.md @@ -0,0 +1,57 @@ +# API接口说明 + + +对外接口实现类。提供创建密钥对、CSR、CA证书、三级证书、应用包的签名和验签、Profile文件的签名和验签方法。 + +## 导入模块 +在使用ServiceApi的功能前,需要通过new SignToolServiceImpl()先获取ServiceApi对象。 +```java +import com.ohos.hapsigntool.api.ServiceApi; +ServiceApi api = new SignToolServiceImpl(); +``` + +## 方法 + +方法的具体调用形式: + +api.generateKeyStore + +方法名称: +* generateKeyStore(Options options); +* generateCsr(Options options); +* generateCert(Options options); +* generateCA(Options options); +* generateAppCert(Options options); +* generateProfileCert(Options options); +* signHap(Options options); +* verifyHap(Options options); +* signProfile(Options options); +* verifyProfile(Options options); + +返回值类型: +boolean + +方法描述: +* generateKeyStore:生成密钥对 +* generateCsr:生成CSR +* generateCert:生成自定义证书 +* generateCA:生成CA证书 +* generateAppCert:生成app证书 +* generateProfileCert:生成Profile证书 +* signHap:应用包签名 +* verifyHap:应用包验签 +* signProfile:Profile文件签名 +* verifyProfile:Profile文件验签 + +**参数:** + +| 参数名 | 类型 | 必填 | 说明 | +|---------------------|---------|------|----------------------| +| options | Options | 是 | 包含证书基本信息 | + +**返回值**: + +| 类型 | 说明 | +|--------------------------------------------|------------| +| boolean | 判断方法是否正常执行 | + diff --git a/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/HapSignTool.java b/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/HapSignTool.java index 564cbe5b5b6ff9ba0c836c717a21b9bb5fcb817c..88cc2f3cbe49291041d539eeb2521c9d42da0102 100644 --- a/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/HapSignTool.java +++ b/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntool/HapSignTool.java @@ -170,6 +170,8 @@ public final class HapSignTool { String outForm = params.getString(Options.OUT_FORM); if (!StringUtils.isEmpty(outForm)) { CmdUtil.verifyType(outForm, Options.OUT_FORM_SCOPE); + } + if (StringUtils.isEmpty(outForm) || "certChain".equals(outForm)) { params.required(Options.SUB_CA_CERT_FILE, Options.CA_CERT_FILE); FileUtils.validFileType(params.getString(Options.SUB_CA_CERT_FILE), "cer"); FileUtils.validFileType(params.getString(Options.CA_CERT_FILE), "cer"); @@ -217,11 +219,13 @@ public final class HapSignTool { } private static boolean runCsr(Options params, ServiceApi api) { - params.required(Options.KEY_ALIAS, Options.SUBJECT, Options.SIGN_ALG, Options.KEY_STORE_FILE, Options.OUT_FILE); + params.required(Options.KEY_ALIAS, Options.SUBJECT, Options.SIGN_ALG, Options.KEY_STORE_FILE); String signAlg = params.getString(Options.SIGN_ALG); CmdUtil.judgeSignAlgType(signAlg); FileUtils.validFileType(params.getString(Options.KEY_STORE_FILE), "p12", "jks"); - FileUtils.validFileType(params.getString(Options.OUT_FILE), "csr"); + if (!StringUtils.isEmpty(params.getString(Options.OUT_FILE))) { + FileUtils.validFileType(params.getString(Options.OUT_FILE), "csr"); + } return api.generateCsr(params); } diff --git a/tools/auto_test.py b/tools/auto_test.py index 590c8ab315786b9b7fe5744ea7db1400ca72651a..41e448186527f0c0890e63a46b5e45272f5c37cc 100644 --- a/tools/auto_test.py +++ b/tools/auto_test.py @@ -17,6 +17,7 @@ import os.path import random import sys import time +import ast from subprocess import Popen from subprocess import PIPE @@ -30,6 +31,7 @@ def print_help(): "\n" \ "Example: \n" \ " signtool.jar \n" \ + " signtool.jar -runtest\n" \ " signtool.jar -scope all -n 1000\n" \ " signtool.jar -scope generate-profile-cert\n" \ " signtool.jar -n 50 --random\n" \ @@ -196,7 +198,8 @@ simple_scope = { 'generate-app-cert -keyAlias "oh-app1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -subject ' '"C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -signAlg SHA256withECDSA ' - '-keystoreFile "./test1/ohtest.jks" -keystorePwd 123456 -outFile "./test1/app1.cer" -keyPwd 123456', + '-keystoreFile "./test1/ohtest.jks" -keystorePwd 123456 -outFile "./test1/app1.cer" -keyPwd 123456 ' + '-outForm cert ', # App sign cert chain via ohtest.jks 'generate-app-cert -keyAlias "oh-app1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -subject ' @@ -208,7 +211,8 @@ simple_scope = { 'generate-app-cert -keyAlias "oh-app2-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca2-key-v1" -subject ' '"C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -signAlg SHA256withECDSA ' - '-keystoreFile "./test2/ohtest.p12" -keystorePwd 123456 -outFile "./test2/app2.cer" -keyPwd 123456', + '-keystoreFile "./test2/ohtest.p12" -keystorePwd 123456 -outFile "./test2/app2.cer" -keyPwd 123456 ' + '-outForm cert ', # App sign cert chain via ohtest.p12 'generate-app-cert -keyAlias "oh-app2-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca2-key-v1" -subject ' @@ -223,7 +227,7 @@ simple_scope = { 'CN=Profile Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" ' '-subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Profile1 Release" ' '-validity 365 -signAlg SHA256withECDSA -keystoreFile "./test1/ohtest.jks" ' - '-keystorePwd 123456 -outFile "./test1/profile1.cer" -keyPwd 123456', + '-keystorePwd 123456 -outFile "./test1/profile1.cer" -keyPwd 123456 -outForm cert ', # Profile sign cert chain via ohtest.jks 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Profile Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" ' @@ -237,7 +241,7 @@ simple_scope = { 'CN=Profile Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca2-key-v1" ' '-subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Profile2 Release" ' '-validity 365 -signAlg SHA256withECDSA -keystoreFile "./test2/ohtest.p12" ' - '-keystorePwd 123456 -outFile "./test2/profile2.cer" -keyPwd 123456', + '-keystorePwd 123456 -outFile "./test2/profile2.cer" -keyPwd 123456 -outForm cert ', # Profile sign cert chain via ohtest.p12 'generate-profile-cert -keyAlias "oh-app2-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,' 'CN=Profile Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca2-key-v1" ' @@ -249,17 +253,20 @@ simple_scope = { 'sign-profile': [ 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "./test1/profile-release1.pem" ' '-inFile "profile.json" -signAlg SHA256withECDSA -keystoreFile "./test1/ohtest.jks" -keystorePwd 123456 ' - '-outFile "./test1/app1-profile1.p7b" -keyPwd 123456', - 'sign-profile -mode localSign -keyAlias "oh-app2-key-v1" -profileCertFile "./test2/profile-release2.pem" ' - '-inFile "profile.json" -signAlg SHA256withRSA -keystoreFile "./test2/ohtest.p12" -keystorePwd 123456 ' - '-outFile "./test2/app1-profile2.p7b" -keyPwd 123456' + '-outFile "./test1/app1-profile1.p7b" -keyPwd 123456' ], 'verify-profile': [ - 'verify-profile -inFile "./test1/app1-profile1.p7b"', - 'verify-profile -inFile "./test2/app1-profile2.p7b"' + 'verify-profile -inFile "./test1/app1-profile1.p7b"' ] } +def get_test_scope_from_file(): + with open('commands.config', 'r') as f: + content = f.read() + return ast.literal_eval(content) + +test_scope = get_test_scope_from_file() + test_result = {} @@ -313,6 +320,18 @@ def run_simple_case(case, jar_file): result = run_target(case, cmd) print("== Done command: {}".format(result)) +def run_test_case(case, jar_file): + test_case = test_scope.get(case, None) + if not test_case: + print("Not found test case: {}".format(case)) + exit(0) + + for k in test_case: + cmd = 'java -jar {} {}'.format(jar_file, k) + print("== Run command: {}".format(cmd)) + result = run_target(case, cmd) + print("== Done command: {}".format(result)) + def random_str(): strs = "abcdefghjiklmnopqstuvwxyzABCDEFGHIJKLMNOPQRS TUVWXYZ1234567890~!@#ls%^&*()_+,./<>?;':" @@ -398,6 +417,8 @@ def process_cmd(args): run_scope = args[i + 1] elif args[i] == '--random': is_random = True + elif args[i] == '-runtest': + run_scope = 'runtest' except IndexError: print_help() exit(0) @@ -421,6 +442,10 @@ def process_cmd(args): prepare_env() for s_scope, _ in simple_scope.items(): run_simple_case(s_scope, jar_file) + elif run_scope == 'runtest': + prepare_env() + for t_scope, _ in test_scope.items(): + run_test_case(t_scope, jar_file) else: run_simple_case(run_scope, jar_file) diff --git a/tools/commands.config b/tools/commands.config new file mode 100644 index 0000000000000000000000000000000000000000..8a42cc9dba833aca476cba27263b5741f044fc52 --- /dev/null +++ b/tools/commands.config @@ -0,0 +1,432 @@ +{ + 'generate-keypair': [ + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyPwd 123456 -keyAlg ECC -keySize NIST-P-384 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias -keyPwd 123456 -keyAlgRSA -keySize 2048 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg RSA -keySize 4096 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyAlg RSA -keySize 3072 -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg AES -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize 2789 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 keystoreFile -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.pji89" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 90(0——+) -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 ', + 'generate-keypair -keyAlias "oh-app1-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "' + ], + 'generate-csr': [ + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app11-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd (+9) -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 - signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject " -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA2fff56withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.j999ks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd ()——90 -extCfgFile "111.txt"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile ', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.cs666r"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA384withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\oh-app1-key-v1.csr"', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 ', + 'generate-csr -keyAlias "oh-app1-key-v1" -keyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -signAlg SHA256withRSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "' + ], + 'generate-cert': [ + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd8——+ -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias “”777ew89qb&&#$“” -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd)-==== -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity *-~45 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignaturenonRepudiation -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature/nonRepudiation -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical 89898 -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256652withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints 90-* -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen () -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.cer" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd sahla90 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.ce7778r" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile "111.txt"', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" ', + 'generate-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Release" -validity 365 -keyUsage digitalSignature -keyUsageCritical true -extKeyUsage codeSignature -extKeyUsageCritical false -signAlg SHA256withECDSA -basicConstraints false -basicConstraintsCritical false -basicConstraintsCa false -basicConstraintsPathLen 0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app1.cer" -extCfgFile"' + ], + 'generate-ca': [ + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd (9+) -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ADC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize 2048 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject " -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA2566666withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen &*&* -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystorePwd 123456 -keystoreFile -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-app-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystorePwd 123456 -keystoreFile "D:\\OH\\ohtest.jkiii666s" -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd (9+) -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile ', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile “ooo90”"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-root-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Root CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 2 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile -outFile "D:\\OH\\app-root-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "@#¥%&" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd "@#$%&" -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg AES -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize 2048 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root111 CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=789 CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-sub-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "@#$%&" -issuerKeyPwd 10996 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity**() -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHAwithECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen OK0 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.cer" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd "@#$%&" -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" ', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "@#$%&"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile "111.txt" -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -outFile "D:\\OH\\app-sign-srv-ca.cer"', + 'generate-ca -keyAlias "oh-app-sign-srv-ca-key-v1" -keyPwd 123456 -keyAlg ECC -keySize NIST-P-256 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA" -issuerKeyAlias "oh-root-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA" -validity 365 -signAlg SHA256withECDSA -basicConstraintsPathLen 1 -keystoreFile "D:\\OH\\ohtest.jks" -keystorePwd 123456 -extCfgFile -outFile "D:\\OH\\app-sign-srv-ca.cer"' + ], + 'generate-app-cert': [ + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "@#$%&" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd "@#$%&" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community " -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"rrr"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity abcd -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256652withRSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.cer" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.tx', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd "@#$%&" -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm cert0 -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.jks" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.jks" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "@#$%&" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "111.txt"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem"', + 'generate-app-cert -keyAlias "oh-app1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Application Signature Service CA" -issuerKeyAlias "oh-app-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=App1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "app-sign-srv-ca1.cer" -outFile "app-debug1.pem" -extCfgFile "' + ], + 'generate-profile-cert': [ + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "@#$%&" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd "@#$%&" -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community " -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"rrr"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity abcd -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256652withRSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.cer" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.tx', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd "@#$%&" -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm cert0 -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.jks" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.jks" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "@#$%&" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "111.txt"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem"', + 'generate-profile-cert -keyAlias "oh-profile1-key-v1" -keyPwd 123456 -issuer "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profilelication Signature Service CA" -issuerKeyAlias "oh-profile-sign-srv-ca-key-v1" -issuerKeyPwd 123456 -subject "C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=profile1 Debug" -validity 365 -signAlg SHA256withECDSA -keystoreFile "D:\\OH\\ohtest.p12" -keystorePwd 123456 -outForm certChain -rootCaCertFile "root-ca1.cer" -subCaCertFile "profile-sign-srv-ca1.cer" -outFile "profile-debug1.pem" -extCfgFile "' + ], + 'sign-profile': [ + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode local -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "@#$%&" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd "@#$%&" -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.jks" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.cert" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA3842356withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.cer" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd "@#$%&" -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 000000 -outFile "app1-profile1.p7b" -keyPwd 111111 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.jks" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "111.txt"', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 ', + 'sign-profile -mode localSign -keyAlias "oh-app1-key-v1" -profileCertFile "profile-release1.pem" -inFile "profile.json" -signAlg SHA384withECDSA -keystoreFile "ohtest.jks" -keystorePwd 123456 -outFile "app1-profile1.p7b" -keyPwd 123456 -extCfgFile "' + ], + 'verify-profile': [ + 'verify-profile -inFile "app1-profile1.p7b" -outFile "verify-result.json"', + 'verify-profile -outFile "verify-result.json"', + 'verify-profile -outFile "verify-result.json" -inFile', + 'verify-profile -outFile "verify-result.json" -inFile "app1-profile1.pem"', + 'verify-profile -outFile "verify-result.json" -inFile "app1-profile1.jks"', + 'verify-profile -inFile "app1-profile1.p7b" -outFile "verify-result.json"', + 'verify-profile -inFile "app1-profile1.p7b" ', + 'verify-profile -inFile "app1-profile1.p7b" -outFile', + 'verify-profile -inFile "app1-profile1.p7b" -outFile "verify-result.js00on"' + ] +} \ No newline at end of file