40 bytes added ,  08:31, 26 September 2022
m
Specifically say where subjectAltName goes
m (Formatting fix)
m (Specifically say where subjectAltName goes)
Line 89: Line 89:
# Make a local copy of openssl.cnf
# Make a local copy of openssl.cnf
# Uncomment the line about v3_extensions<pre>req_extensions = v3_req</pre>
# Uncomment the line about v3_extensions<pre>req_extensions = v3_req</pre>
# Add a subjectAltName under basicConstraints and keyUsage  
# Add a subjectAltName under basicConstraints and keyUsage in <i>[ v3_req ]</i> section.
     <pre>basicConstraints = CA:FALSE
     <pre>[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com</pre>
subjectAltName = DNS:www.mydomain.com,DNS:mydomain.com,DNS:other.mydomain.com</pre>