mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
b524b808a1
Either files or directories of *.cnf or *.conf files can be included. Recursive inclusion of directories is not supported. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5351)
54 lines
1.4 KiB
INI
54 lines
1.4 KiB
INI
# For the CA policy
|
|
[ policy_match ]
|
|
countryName = match
|
|
stateOrProvinceName = match
|
|
organizationName = match
|
|
organizationalUnitName = optional
|
|
commonName = supplied
|
|
emailAddress = optional
|
|
|
|
# For the 'anything' policy
|
|
# At this point in time, you must list all acceptable 'object'
|
|
# types.
|
|
[ policy_anything ]
|
|
countryName = optional
|
|
stateOrProvinceName = optional
|
|
localityName = optional
|
|
organizationName = optional
|
|
organizationalUnitName = optional
|
|
commonName = supplied
|
|
emailAddress = optional
|
|
|
|
####################################################################
|
|
[ req ]
|
|
default_bits = 2048
|
|
default_keyfile = testkey.pem
|
|
distinguished_name = req_distinguished_name
|
|
encrypt_rsa_key = no
|
|
|
|
[ req_distinguished_name ]
|
|
countryName = Country Name (2 letter code)
|
|
countryName_default = AU
|
|
countryName_value = AU
|
|
|
|
stateOrProvinceName = State or Province Name (full name)
|
|
stateOrProvinceName_default = Queensland
|
|
stateOrProvinceName_value =
|
|
|
|
localityName = Locality Name (eg, city)
|
|
localityName_value = Brisbane
|
|
|
|
organizationName = Organization Name (eg, company)
|
|
organizationName_default =
|
|
organizationName_value = CryptSoft Pty Ltd
|
|
|
|
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
organizationalUnitName_default =
|
|
organizationalUnitName_value = .
|
|
|
|
commonName = Common Name (eg, YOUR name)
|
|
commonName_value = Eric Young
|
|
|
|
emailAddress = Email Address
|
|
emailAddress_value = eay@mincom.oz.au
|