Apache and SSL

Hal Burgiss hal at burgiss.net
Mon Mar 21 10:21:21 UTC 2011


On Sun, Mar 20, 2011 at 9:01 PM, Damien Hull <dhull at section9.us> wrote:

> How do you setup Apache for name based virtual hosting with SSL?
>
> I would like to host more then one SSL site on the same server/ip
> address. I know in the past this wasn't possible.
>
>
You need a dedicated IP address for the SSL stuff. So you would typically
have 2 stanzas in your Apache conf file, like:

<VirtualHost *:80 >
         ServerName www.example.com
         # more statements.
</VirtualHost>

<VirtualHost 1.2.3.4:443 >
     SSLEngine On
     SSLCertificateFile conf/ssl/www.example.com.crt
     # more statements

</VirtualHost>

You can do as many as you want, but need one IP address for each SSL
certificate. Of course, you need the certificate files too.

-- 
Hal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110321/0ef8e1a1/attachment.html>


More information about the ubuntu-users mailing list