David Benjamin | 33b5692 | 2022-12-31 17:16:53 -0500 | [diff] [blame] | 1 | # [ CA_default ] |
| 2 | |
| 3 | dir = ./demoCA |
| 4 | certificate = ./demoCA/cacert.pem |
| 5 | serial = ./demoCA/serial |
| 6 | private_key = ./demoCA/private/cakey.pem |
| 7 | new_certs_dir = ./demoCA/newcerts |
| 8 | |
| 9 | certificate = cacert.pem |
| 10 | private_key = cakey.pem |
| 11 | |
| 12 | x509_extensions = v3_user |
| 13 | |
| 14 | name_opt = ca_default # Subject Name options |
| 15 | cert_opt = ca_default # Certificate field options |
| 16 | |
| 17 | policy = policy_anything |
| 18 | |
| 19 | #################################################################### |
| 20 | [ req ] |
| 21 | default_bits = 2432 |
| 22 | default_keyfile = cakey.pem |
| 23 | default_md = sha256 |
| 24 | distinguished_name = req_DN |
| 25 | string_mask = utf8only |
| 26 | x509_extensions = v3_selfsign |
| 27 | |
| 28 | [ req_DN ] |
| 29 | commonName = "Common Name" |
| 30 | commonName_value = "CA" |
| 31 | |
| 32 | [ v3_selfsign ] |
| 33 | basicConstraints = critical,CA:true |
| 34 | keyUsage = keyCertSign |
| 35 | subjectKeyIdentifier=hash |
| 36 | |
| 37 | #################################################################### |
| 38 | [ ca ] |
| 39 | default_ca = CA_default # The default ca section |
| 40 | |
| 41 | #################################################################### |
| 42 | [ CA_default ] |
| 43 | |
| 44 | dir = ./demoCA |
| 45 | certificate = ./demoCA/cacert.pem |
| 46 | serial = ./demoCA/serial |
| 47 | private_key = ./demoCA/private/cakey.pem |
| 48 | new_certs_dir = ./demoCA/newcerts |
| 49 | |
| 50 | certificate = cacert.pem |
| 51 | private_key = cakey.pem |
| 52 | |
| 53 | x509_extensions = v3_user |
| 54 | |
| 55 | name_opt = ca_default # Subject Name options |
| 56 | cert_opt = ca_default # Certificate field options |
| 57 | |
| 58 | policy = policy_anything |
| 59 | |
| 60 | [ policy_anything ] |
| 61 | countryName = optional |
| 62 | stateOrProvinceName = optional |
| 63 | localityName = optional |
| 64 | organizationName = optional |
| 65 | organizationalUnitName = optional |
| 66 | commonName = supplied |
| 67 | emailAddress = optional |
| 68 | |
| 69 | [ v3_user ] |
| 70 | basicConstraints=critical,CA:FALSE |
| 71 | subjectKeyIdentifier=hash |
| 72 | authorityKeyIdentifier=keyid,issuer |
| 73 | issuerAltName=issuer:copy |
| 74 | |