|
|
703134b |
[req]
|
|
|
703134b |
distinguished_name = req_distinguished_name
|
|
|
703134b |
# The extensions to add to the self signed cert
|
|
|
703134b |
x509_extensions = v3_ca
|
|
|
703134b |
# Run non-interactively
|
|
|
703134b |
prompt = no
|
|
|
703134b |
|
|
|
703134b |
[req_distinguished_name]
|
|
|
703134b |
# Certificate subject
|
|
|
703134b |
#countryName = US
|
|
|
703134b |
#stateOrProvinceName = CA
|
|
|
703134b |
#localityName = Sunnyvale
|
|
|
703134b |
#organizationName = xrdp
|
|
|
703134b |
#organizationalUnitName =
|
|
|
703134b |
commonName = XRDP
|
|
|
703134b |
#emailAddress =
|
|
|
703134b |
|
|
|
703134b |
[v3_ca]
|
|
|
703134b |
# Extensions for a typical CA - PKIX recommendation.
|
|
|
703134b |
subjectKeyIdentifier = hash
|
|
|
703134b |
authorityKeyIdentifier = keyid:always, issuer
|
|
|
703134b |
|
|
|
703134b |
# This is what PKIX recommends but some broken software chokes on critical
|
|
|
703134b |
# extensions.
|
|
|
703134b |
#basicConstraints = critical, CA:true
|
|
|
703134b |
# So we do this instead.
|
|
|
703134b |
basicConstraints = CA:true
|
|
|
703134b |
|
|
|
703134b |
# Key usage: this is typical for a CA certificate. However since it will
|
|
|
703134b |
# prevent it being used as an test self-signed certificate it is best
|
|
|
703134b |
# left out by default.
|
|
|
703134b |
#keyUsage = cRLSign, keyCertSign
|
|
|
703134b |
|
|
|
703134b |
# Some might want this also
|
|
|
703134b |
#nsCertType = sslCA, emailCA
|
|
|
703134b |
|
|
|
703134b |
# Include email address in subject alt name: another PKIX recommendation
|
|
|
703134b |
#subjectAltName = email:copy
|
|
|
703134b |
# Copy issuer details
|
|
|
703134b |
#issuerAltName = issuer:copy
|
|
|
703134b |
|
|
|
703134b |
# DER hex encoding of an extension: experts only!
|
|
|
703134b |
#obj = DER:02:03
|
|
|
703134b |
# Where 'obj' is a standard or added object
|
|
|
703134b |
# You can even override a supported extension:
|
|
|
703134b |
#basicConstraints = critical, DER:30:03:01:01:FF
|