1// Base configuration 2// 3// Location of signtool.jar 4 5config.signtool=../hapsigntool/hap_sign_tool/build/libs/hap-sign-tool.jar 6 7// All products would be put into folder 8config.targetDir=result 9 10// Common configuration, will be overwrite by detail config 11common.keystoreFile=OpenHarmony.p12 12common.keystorePwd=123456 13common.keyAlg=ECC 14common.keySize=NIST-P-256 15common.signAlg=SHA256withECDSA 16common.validity=365 17common.outForm=certChain 18common.mode=localSign 19 20// You must change this instead of using default 21common.keyPwd=123456 22common.issuerKeyPwd=123456 23 24// keypair of app signature 25app.keypair.keyAlias=oh-app1-key-v1 26app.keypair.keyPwd=123456 27 28// keypair of profile signature 29profile.keypair.keyAlias=openharmony application profile release 30profile.keypair.keyPwd=123456 31 32// Root CA 33root-ca.outFile=rootCA.cer 34 35// Sub APP CA 36sub-ca.app.keyAlias=openharmony application ca 37sub-ca.app.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Team,CN= OpenHarmony Application CA 38sub-ca.app.outFile=subCA.cer 39 40// App signature cert 41cert.app.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Team,CN=OpenHarmony Application Release 42cert.app.outFile=app1.pem 43 44// Profile signature cert 45cert.profile.outFile=OpenHarmonyProfileRelease.pem 46 47// Sign profile 48sign.profile.inFile=UnsgnedReleasedProfileTemplate.json 49sign.profile.outFile=app1-profile.p7b 50 51// Default config. Do not change it 52cert.app.keyAlias=$app.keypair.keyAlias 53cert.app.issuer=$sub-ca.app.subject 54cert.app.issuerKeyAlias=$sub-ca.app.keyAlias 55cert.app.rootCaCertFile=$root-ca.outFile 56cert.app.subCaCertFile=$sub-ca.app.outFile 57 58sign.profile.keyAlias=$profile.keypair.keyAlias 59sign.profile.profileCertFile=$cert.profile.outFile 60