ServerAlias and certs

hello - i have been using ServerAlias with a multiuser wordpress site for a long time now and its worked great.

recently i certified the parent site like so:

this works fine for names like this:

but does not work for names like this: (works fine with regular http but not https)

i am hoping each of those alias sites dont need to be certified individually which would be a nightmare. is ServerAlias supposed to cover certifications? i didnt even see an option to certify the alias sites individually anywhere in virtualmin.

the httpd.conf file looks something like this:

SSLEngine on
SSLProxyEngine on   ## manually added
SSLCertificateFile /home/
SSLCertificateKeyFile /home/
SSLCACertificateFile /home/   ## manually added

any suggestions here would be most appreciated!

i just learned from StartSSL that domain names will need to be certified individually - which is NOT gonna happen !

Depends on. If you certify yourself with, which will cost you around 60 bucks, you can also create wildcard domain certificates, which you can use in virtualmin too. This certs run 2 years. With the free-of-charge service i think you can only certify that specific subdomain.domain, so if you create a certificate you can add various subdomains, for which this cert would work. AFAIK letsencrypt does not support wildcard as well. ( i think, that startssl will add the www subdomain automatically, but i am not sure for the free of charge thing, because, before i switched over to letsencrypt i had those two year certificates…