update libressl to v2.7.4
[unleashed.git] / lib / libcrypto / x509v3.cnf
blobd12d732855759ab1337d168ec67fcca9ea19d8b6
1 # default settings
2 CERTPATHLEN             = 1
3 CERTUSAGE               = digitalSignature,keyCertSign,cRLSign
4 EXTCERTUSAGE            = serverAuth,clientAuth
5 CERTIP                  = 0.0.0.0
6 CERTFQDN                = nohost.nodomain
8 # This section should be referenced when building an x509v3 CA
9 # Certificate.
10 # The default path length and the key usage can be overridden
11 # modified by setting the CERTPATHLEN and CERTUSAGE environment 
12 # variables.
13 [x509v3_CA]
14 basicConstraints=critical,CA:true,pathlen:$ENV::CERTPATHLEN
15 keyUsage=$ENV::CERTUSAGE
17 # This section should be referenced to add an IP Address
18 # as an alternate subject name, needed by isakmpd
19 # The address must be provided in the CERTIP environment variable
20 [x509v3_IPAddr]
21 subjectAltName=IP:$ENV::CERTIP
22 extendedKeyUsage=$ENV::EXTCERTUSAGE
24 # This section should be referenced to add a FQDN hostname
25 # as an alternate subject name, needed by isakmpd
26 # The address must be provided in the CERTFQDN environment variable
27 [x509v3_FQDN]
28 subjectAltName=DNS:$ENV::CERTFQDN
29 extendedKeyUsage=$ENV::EXTCERTUSAGE