On Wednesday, 3 July 2013 at 12:18 PM, Dotan Cohen wrote:

> When configuring SSL in Apache2, what is the difference between these two 
> lines:
> <VirtualHost *:443>
> <VirtualHost _default_:443>
> 
http://httpd.apache.org/docs/current/vhosts/examples.html#default
 
> 
> I've tried limited experimentation, but as I only have this cert for a
> live site I can't be experimenting too long! My end goal is to serve
> SSL for example.com (http://example.com) and for sub.example.com 
> (http://sub.example.com), but setting two
> sites-enabled files with the following lines does not work:
> <VirtualHost example.com:443 (http://example.com:443)>
> <VirtualHost sub.example.com:443 (http://sub.example.com:443)>
> 
> 

you need a SSL certificate which support wild card. 
http://en.wikipedia.org/wiki/Wildcard_certificate

-S

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to