2016-11-18 06:53:54 +03:00
|
|
|
[req]
|
|
|
|
distinguished_name = req_distinguished_name
|
2016-12-25 12:34:52 +03:00
|
|
|
# The extensions to add to the self signed cert
|
|
|
|
x509_extensions = v3_ca
|
2016-11-18 06:53:54 +03:00
|
|
|
|
|
|
|
[req_distinguished_name]
|
2016-12-25 01:38:54 +03:00
|
|
|
|
2016-12-25 12:34:52 +03:00
|
|
|
[v3_ca]
|
|
|
|
# Extensions for a typical CA - PKIX recommendation.
|
|
|
|
subjectKeyIdentifier = hash
|
|
|
|
authorityKeyIdentifier = keyid:always, issuer
|
2016-12-25 01:38:54 +03:00
|
|
|
|
|
|
|
# This is what PKIX recommends but some broken software chokes on critical
|
|
|
|
# extensions.
|
2016-12-25 12:34:52 +03:00
|
|
|
#basicConstraints = critical, CA:true
|
2016-12-25 01:38:54 +03:00
|
|
|
# So we do this instead.
|
|
|
|
basicConstraints = CA:true
|
|
|
|
|
|
|
|
# Key usage: this is typical for a CA certificate. However since it will
|
|
|
|
# prevent it being used as an test self-signed certificate it is best
|
|
|
|
# left out by default.
|
2016-12-25 12:34:52 +03:00
|
|
|
#keyUsage = cRLSign, keyCertSign
|
2016-12-25 01:38:54 +03:00
|
|
|
|
|
|
|
# Some might want this also
|
2016-12-25 12:34:52 +03:00
|
|
|
#nsCertType = sslCA, emailCA
|
2016-12-25 01:38:54 +03:00
|
|
|
|
|
|
|
# Include email address in subject alt name: another PKIX recommendation
|
2016-12-25 12:34:52 +03:00
|
|
|
#subjectAltName = email:copy
|
2016-12-25 01:38:54 +03:00
|
|
|
# Copy issuer details
|
2016-12-25 12:34:52 +03:00
|
|
|
#issuerAltName = issuer:copy
|
2016-12-25 01:38:54 +03:00
|
|
|
|
2016-12-25 12:34:52 +03:00
|
|
|
# DER hex encoding of an extension: experts only!
|
|
|
|
#obj = DER:02:03
|
2016-12-25 01:38:54 +03:00
|
|
|
# Where 'obj' is a standard or added object
|
|
|
|
# You can even override a supported extension:
|
2016-12-25 12:34:52 +03:00
|
|
|
#basicConstraints = critical, DER:30:03:01:01:FF
|