better formatting

This commit is contained in:
Jan Dittberner 2011-05-04 22:06:25 +02:00
parent f1242ada05
commit 5568b91acd
2 changed files with 44 additions and 44 deletions

View file

@ -1,43 +1,43 @@
# Request configuration for CA certificate # Request configuration for client certificates
# #
# Author: Jan Dittberner <jan@dittberner.info> # Author: Jan Dittberner <jan@dittberner.info>
# Date: 2011-05-04 # Date: 2011-05-04
RANDFILE = $ENV::HOME/ca/.rnd RANDFILE = $ENV::HOME/ca/.rnd
[ req ] [ req ]
default_bits = 2048 default_bits = 2048
distinguished_name = req_distinguished_name distinguished_name = req_distinguished_name
x509_extensions = v3_client_ext x509_extensions = v3_client_ext
# This sets a mask for permitted string types. There are several options. # This sets a mask for permitted string types. There are several options.
# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings). # nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
string_mask = nombstr string_mask = nombstr
[ req_distinguished_name ] [ req_distinguished_name ]
countryName = Country Name (2 letter code) countryName = Country Name (2 letter code)
countryName_default = DE countryName_default = DE
countryName_min = 2 countryName_min = 2
countryName_max = 2 countryName_max = 2
stateOrProvinceName = State or Province Name (full name) stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = Saxony stateOrProvinceName_default = Saxony
localityName = Locality Name (eg, city) localityName = Locality Name (eg, city)
localityName_default = Example Town localityName_default = Example Town
0.organizationName = Organization Name (eg, company) 0.organizationName = Organization Name (eg, company)
0.organizationName_default = Example Organization 0.organizationName_default = Example Organization
organizationalUnitName = Organizational Unit Name (eg, section) organizationalUnitName = Organizational Unit Name (eg, section)
organizationalUnitName_default = Example Lab organizationalUnitName_default = Example Lab
commonName = Common Name (eg, YOUR name) commonName = Common Name (eg, YOUR name)
commonName_max = 64 commonName_max = 64
commonName_default = Example Lab Client commonName_default = Example Lab Client
emailAddress = Email Address emailAddress = Email Address
emailAddress_max = 64 emailAddress_max = 64
emailAddress_default = client@example.org emailAddress_default = client@example.org
[ v3_client_ext ] [ v3_client_ext ]

View file

@ -3,44 +3,44 @@
# Author: Jan Dittberner <jan@dittberner.info> # Author: Jan Dittberner <jan@dittberner.info>
# Date: 2011-05-03 # Date: 2011-05-03
RANDFILE = $ENV::HOME/ca/.rnd RANDFILE = $ENV::HOME/ca/.rnd
[ req ] [ req ]
default_bits = 2048 default_bits = 2048
distinguished_name = req_distinguished_name distinguished_name = req_distinguished_name
x509_extensions = v3_ca_ext x509_extensions = v3_ca_ext
# This sets a mask for permitted string types. There are several options. # This sets a mask for permitted string types. There are several options.
# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings). # nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).
string_mask = nombstr string_mask = nombstr
[ req_distinguished_name ] [ req_distinguished_name ]
countryName = Country Name (2 letter code) countryName = Country Name (2 letter code)
countryName_default = DE countryName_default = DE
countryName_min = 2 countryName_min = 2
countryName_max = 2 countryName_max = 2
stateOrProvinceName = State or Province Name (full name) stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = Saxony stateOrProvinceName_default = Saxony
localityName = Locality Name (eg, city) localityName = Locality Name (eg, city)
localityName_default = Example Town localityName_default = Example Town
0.organizationName = Organization Name (eg, company) 0.organizationName = Organization Name (eg, company)
0.organizationName_default = Example Organization 0.organizationName_default = Example Organization
organizationalUnitName = Organizational Unit Name (eg, section) organizationalUnitName = Organizational Unit Name (eg, section)
organizationalUnitName_default = Example Lab organizationalUnitName_default = Example Lab
commonName = Common Name (eg, YOUR name) commonName = Common Name (eg, YOUR name)
commonName_max = 64 commonName_max = 64
commonName_default = Example Lab Root CA commonName_default = Example Lab Root CA
emailAddress = Email Address emailAddress = Email Address
emailAddress_max = 64 emailAddress_max = 64
emailAddress_default = rootca@example.org emailAddress_default = rootca@example.org
[ v3_ca_ext ] [ v3_ca_ext ]
basicConstraints = critical, CA:true, pathlen:1 basicConstraints = critical, CA:true, pathlen:1
keyUsage = critical, keyCertSign,cRLSign keyUsage = critical, keyCertSign,cRLSign
nsComment = "Example Labs Root Certificate" nsComment = "Example Labs Root Certificate"