Here is tip how to make one ssl certificate for many Common Names (CN).
You need add following strings to your openssl.cfg:
[ req_distinguished_name ] 0.commonName_default = www.first-domain.com 0.commonName_max = 64 1.commonName_default = www.second-domain.com 1.commonName_max = 64
..and use this config file for making certificate.