Many Common Names (CN) in one SSL certificate

Link: http://alenitchev.wordpress.com/2006/09/12/many-common-names-cn-in-one-ssl-certificate/

As Dmitri Alenitchev points out, you can use several common names in one SSL certificate, using something like:

[ req_distinguished_name ]
0.commonName = Common Name (1)
0.commonName_default = www.first-domain.com
0.commonName_max = 64
1.commonName = Common Name (2)
1.commonName_default = *.second-domain.com
1.commonName_max = 64

in /etc/ssl/openssl.cnf.

Also see the CAcert.org wiki about this.

Update: Using SubjectAltName instead seems more compatible.

By Daniel in Open Source2006-09-12 English (EU) Email

No feedback yet

Leave a comment

Your email address will not be revealed on this site.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)
You can just use your OpenID to provide your name, e-mail and url.