320
edits
m (Typo) |
m (typo) |
||
Line 94: | Line 94: | ||
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> | ||
There is some debate whether wildcard domains can be SANs. I think they can.<p> | There is some debate whether wildcard domains can be SANs. I think they can.<p> | ||
Now create the CSR for the website.<pre>$ openssl req -new -key www.mydomain.com.key -sha256 -config openssl.cnf -subj 'C=GB/ST=Yorkshire/L=Leeds/O=Company Name/OU=Company IT Dept/CN=www.mydomain.com' > www.mydomain.com.csr</pre> | Now create the CSR for the website.<pre>$ openssl req -new -key www.mydomain.com.key -sha256 -config openssl.cnf -subj '/C=GB/ST=Yorkshire/L=Leeds/O=Company Name/OU=Company IT Dept/CN=www.mydomain.com' > www.mydomain.com.csr</pre> | ||
The file <i>www.mydomain.com.csr</i> can be provided to the certificate authority for signing. | The file <i>www.mydomain.com.csr</i> can be provided to the certificate authority for signing. |