123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- RANDFILE = ./.rnd
- oid_section = new_oids
- TSDNSECT = ts_cert_dn
- INDEX = 1
- [ new_oids ]
- tsa_policy1 = 1.2.3.4.1
- tsa_policy2 = 1.2.3.4.5.6
- tsa_policy3 = 1.2.3.4.5.7
- [ ca ]
- default_ca = CA_default
- [ CA_default ]
- dir = ./demoCA
- certs = $dir/certs
- database = $dir/index.txt
- new_certs_dir = $dir/newcerts
- certificate = $dir/cacert.pem
- serial = $dir/serial
- private_key = $dir/private/cakey.pem
- RANDFILE = $dir/private/.rand
- default_days = 365
- default_md = sha256
- preserve = no
- policy = policy_match
- [ policy_match ]
- countryName = supplied
- stateOrProvinceName = supplied
- organizationName = supplied
- organizationalUnitName = optional
- commonName = supplied
- emailAddress = optional
- [ req ]
- default_bits = 2048
- default_md = sha1
- distinguished_name = $ENV::TSDNSECT
- encrypt_rsa_key = no
- prompt = no
- x509_extensions = v3_ca
- string_mask = nombstr
- [ ts_ca_dn ]
- countryName = HU
- stateOrProvinceName = Budapest
- localityName = Budapest
- organizationName = Gov-CA Ltd.
- commonName = ca1
- [ ts_cert_dn ]
- countryName = HU
- stateOrProvinceName = Budapest
- localityName = Buda
- organizationName = Hun-TSA Ltd.
- commonName = tsa$ENV::INDEX
- [ tsa_cert ]
- basicConstraints=CA:FALSE
- keyUsage = nonRepudiation, digitalSignature
- extendedKeyUsage = critical,timeStamping
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid,issuer:always
- [ non_tsa_cert ]
- basicConstraints=CA:FALSE
- keyUsage = nonRepudiation, digitalSignature
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid,issuer:always
- [ v3_req ]
- basicConstraints = CA:FALSE
- keyUsage = nonRepudiation, digitalSignature
- [ v3_ca ]
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid:always,issuer:always
- basicConstraints = critical,CA:true
- keyUsage = cRLSign, keyCertSign
- [ tsa ]
- default_tsa = tsa_config1
- [ tsa_config1 ]
- dir = .
- serial = $dir/tsa_serial
- signer_cert = $dir/tsa_cert1.pem
-
- certs = $dir/tsaca.pem
-
- signer_key = $dir/tsa_key1.pem
- signer_digest = sha256
- default_policy = tsa_policy1
-
- other_policies = tsa_policy2, tsa_policy3
- digests = sha1, sha256, sha384, sha512
- accuracy = secs:1, millisecs:500, microsecs:100
- ordering = yes
-
- tsa_name = yes
-
- ess_cert_id_chain = yes
-
- ess_cert_id_alg = sha256
-
- [ tsa_config2 ]
- dir = .
- serial = $dir/tsa_serial
- signer_cert = $dir/tsa_cert2.pem
-
- certs = $dir/demoCA/cacert.pem
-
- signer_key = $dir/tsa_key2.pem
- signer_digest = sha256
- default_policy = tsa_policy1
-
- other_policies = tsa_policy2, tsa_policy3
- digests = sha1, sha256, sha384, sha512
|