• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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=ohtest.jks
12common.keystorePwd=123456
13common.keyAlg=ECC
14common.keySize=NIST-P-256
15common.signAlg=SHA256withECDSA
16common.validity=365
17common.outForm=certChain
18
19// You must change this instead of using default
20common.keyPwd=123456
21common.issuerKeyPwd=123456
22
23// keypair of profile signature
24profile.keypair.keyAlias=oh-profile-key-v1
25profile.keypair.keyPwd=123456
26
27// Root CA
28root-ca.keyAlias=oh-root-ca-key-v1
29root-ca.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Root CA
30root-ca.outFile=root-ca1.cer
31
32// Sub APP CA
33sub-ca.app.keyAlias=oh-app-sign-srv-ca-key-v1
34sub-ca.app.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Application Signature Service CA
35sub-ca.app.outFile=app-sign-srv-ca1.cer
36
37// Sub Profile CA
38sub-ca.profile.keyAlias=oh-profile-sign-srv-ca-key-v1
39sub-ca.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN= Profile Signature Service CA
40sub-ca.profile.outFile=profile-sign-srv-ca1.cer
41
42// Profile signature cert
43cert.profile.subject=C=CN,O=OpenHarmony,OU=OpenHarmony Community,CN=Profile1 Release
44cert.profile.outFile=profile1.pem
45
46// Default config. Do not change it
47sub-ca.app.issuer=$root-ca.subject
48sub-ca.app.issuerKeyAlias=$root-ca.keyAlias
49sub-ca.profile.issuer=$root-ca.subject
50sub-ca.profile.issuerKeyAlias=$root-ca.keyAlias
51
52cert.profile.keyAlias=$profile.keypair.keyAlias
53cert.profile.issuer=$sub-ca.profile.subject
54cert.profile.issuerKeyAlias=$sub-ca.profile.keyAlias
55cert.profile.rootCaCertFile=$root-ca.outFile
56cert.profile.subCaCertFile=$sub-ca.profile.outFile
57