123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- HOME = .
- RANDFILE = $ENV::HOME/.rnd
- oid_section = new_oids
- [ 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
- crl_dir = $dir/crl
- database = $dir/index.txt
-
- new_certs_dir = $dir/newcerts
- certificate = $dir/cacert.pem
- serial = $dir/serial
- crlnumber = $dir/crlnumber
-
- crl = $dir/crl.pem
- private_key = $dir/private/cakey.pem
- RANDFILE = $dir/private/.rand
- x509_extensions = usr_cert
- name_opt = ca_default
- cert_opt = ca_default
- default_days = 365
- default_crl_days= 30
- default_md = default
- preserve = no
- policy = policy_match
- [ policy_match ]
- countryName = match
- stateOrProvinceName = match
- organizationName = match
- organizationalUnitName = optional
- commonName = supplied
- emailAddress = optional
- [ policy_anything ]
- countryName = optional
- stateOrProvinceName = optional
- localityName = optional
- organizationName = optional
- organizationalUnitName = optional
- commonName = supplied
- emailAddress = optional
- [ req ]
- default_bits = 2048
- default_keyfile = privkey.pem
- distinguished_name = req_distinguished_name
- attributes = req_attributes
- x509_extensions = v3_ca
- string_mask = utf8only
- [ req_distinguished_name ]
- countryName = Country Name (2 letter code)
- countryName_default = AU
- countryName_min = 2
- countryName_max = 2
- stateOrProvinceName = State or Province Name (full name)
- stateOrProvinceName_default = Some-State
- localityName = Locality Name (eg, city)
- 0.organizationName = Organization Name (eg, company)
- 0.organizationName_default = Internet Widgits Pty Ltd
- organizationalUnitName = Organizational Unit Name (eg, section)
- commonName = Common Name (e.g. server FQDN or YOUR name)
- commonName_max = 64
- emailAddress = Email Address
- emailAddress_max = 64
- [ req_attributes ]
- challengePassword = A challenge password
- challengePassword_min = 4
- challengePassword_max = 20
- unstructuredName = An optional company name
- [ usr_cert ]
- basicConstraints=CA:FALSE
- nsComment = "OpenSSL Generated Certificate"
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid,issuer
- [ v3_req ]
- basicConstraints = CA:FALSE
- keyUsage = nonRepudiation, digitalSignature, keyEncipherment
- [ v3_ca ]
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid:always,issuer
- basicConstraints = CA:true
- [ crl_ext ]
- authorityKeyIdentifier=keyid:always
- [ proxy_cert_ext ]
- basicConstraints=CA:FALSE
- nsComment = "OpenSSL Generated Certificate"
- subjectKeyIdentifier=hash
- authorityKeyIdentifier=keyid,issuer
- proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo
- [ tsa ]
- default_tsa = tsa_config1
- [ tsa_config1 ]
- dir = ./demoCA
- serial = $dir/tsaserial
- crypto_device = builtin
- signer_cert = $dir/tsacert.pem
-
- certs = $dir/cacert.pem
-
- signer_key = $dir/private/tsakey.pem
- default_policy = tsa_policy1
-
- other_policies = tsa_policy2, tsa_policy3
- digests = md5, sha1
- accuracy = secs:1, millisecs:500, microsecs:100
- clock_precision_digits = 0
- ordering = yes
-
- tsa_name = yes
-
- ess_cert_id_chain = no
-
|