3 # This config is used by the Time Stamp Authority tests.
6 # This definition stops the following lines choking if HOME isn't
9 RANDFILE = $ENV::HOME/.rnd
11 # Extra OBJECT IDENTIFIER info:
12 oid_section = new_oids
19 # Policies used by the TSA tests.
20 tsa_policy1 = 1.2.3.4.1
21 tsa_policy2 = 1.2.3.4.5.6
22 tsa_policy3 = 1.2.3.4.5.7
24 #----------------------------------------------------------------------
26 default_ca = CA_default # The default ca section
31 certs = $dir/certs # Where the issued certs are kept
32 database = $dir/index.txt # database index file.
33 new_certs_dir = $dir/newcerts # default place for new certs.
35 certificate = $dir/cacert.pem # The CA certificate
36 serial = $dir/serial # The current serial number
37 private_key = $dir/private/cakey.pem# The private key
38 RANDFILE = $dir/private/.rand # private random number file
40 default_days = 365 # how long to certify for
41 default_md = sha1 # which md to use.
42 preserve = no # keep passed DN ordering
48 countryName = supplied
49 stateOrProvinceName = supplied
50 organizationName = supplied
51 organizationalUnitName = optional
53 emailAddress = optional
55 #----------------------------------------------------------------------
59 distinguished_name = $ENV::TSDNSECT
62 # attributes = req_attributes
63 x509_extensions = v3_ca # The extentions to add to the self signed cert
69 stateOrProvinceName = Budapest
70 localityName = Budapest
71 organizationName = Gov-CA Ltd.
76 stateOrProvinceName = Budapest
78 organizationName = Hun-TSA Ltd.
79 commonName = tsa$ENV::INDEX
83 # TSA server cert is not a CA cert.
84 basicConstraints=CA:FALSE
86 # The following key usage flags are needed for TSA server certificates.
87 keyUsage = nonRepudiation, digitalSignature
88 extendedKeyUsage = critical,timeStamping
90 # PKIX recommendations harmless if included in all certificates.
91 subjectKeyIdentifier=hash
92 authorityKeyIdentifier=keyid,issuer:always
96 # This is not a CA cert and not a TSA cert, either (timeStamping usage missing)
97 basicConstraints=CA:FALSE
99 # The following key usage flags are needed for TSA server certificates.
100 keyUsage = nonRepudiation, digitalSignature
101 # timeStamping is not supported by this certificate
102 # extendedKeyUsage = critical,timeStamping
104 # PKIX recommendations harmless if included in all certificates.
105 subjectKeyIdentifier=hash
106 authorityKeyIdentifier=keyid,issuer:always
110 # Extensions to add to a certificate request
111 basicConstraints = CA:FALSE
112 keyUsage = nonRepudiation, digitalSignature
116 # Extensions for a typical CA
118 subjectKeyIdentifier=hash
119 authorityKeyIdentifier=keyid:always,issuer:always
120 basicConstraints = critical,CA:true
121 keyUsage = cRLSign, keyCertSign
123 #----------------------------------------------------------------------
126 default_tsa = tsa_config1 # the default TSA section
130 # These are used by the TSA reply generation only.
131 dir = . # TSA root directory
132 serial = $dir/tsa_serial # The current serial number (mandatory)
133 signer_cert = $dir/tsa_cert1.pem # The TSA signing certificate
135 certs = $dir/tsaca.pem # Certificate chain to include in reply
137 signer_key = $dir/tsa_key1.pem # The TSA private key (optional)
139 default_policy = tsa_policy1 # Policy if request did not specify it
141 other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional)
142 digests = md5, sha1 # Acceptable message digests (mandatory)
143 accuracy = secs:1, millisecs:500, microsecs:100 # (optional)
144 ordering = yes # Is ordering defined for timestamps?
145 # (optional, default: no)
146 tsa_name = yes # Must the TSA name be included in the reply?
147 # (optional, default: no)
148 ess_cert_id_chain = yes # Must the ESS cert id chain be included?
149 # (optional, default: no)
153 # This configuration uses a certificate which doesn't have timeStamping usage.
154 # These are used by the TSA reply generation only.
155 dir = . # TSA root directory
156 serial = $dir/tsa_serial # The current serial number (mandatory)
157 signer_cert = $dir/tsa_cert2.pem # The TSA signing certificate
159 certs = $dir/demoCA/cacert.pem# Certificate chain to include in reply
161 signer_key = $dir/tsa_key2.pem # The TSA private key (optional)
163 default_policy = tsa_policy1 # Policy if request did not specify it
165 other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional)
166 digests = md5, sha1 # Acceptable message digests (mandatory)