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.
