I can make a single SSL certificate for several different domain names:
www1.example.com
www2.example.com
www3.example.com
But *.example.com
doesn't work.
How can I make a single SSL certificate for all sub domains within .example.com
?
P.S. Here is the extension part of the generated certificate:
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
X509v3 Subject Alternative Name:
DNS:*.example.com
It's simply not matched by any sub-domain under example.com
by the browser.
This is a bit old but I am sure this process has not changed that much over the years
http://www.justinsamuel.com/2006/03/11/howto-create-a-self-signed-wildcard-ssl-certificate/