Re: Mutiple IP/Multiple SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can definitely do this. For each VirtualHost, make sure you have ServerName set to the main web site and ServerAlias set for any additional name that the SSL certificate is good for.
When a request comes in, Apache compares the SNI information in the request to the ServerName/Aliases that it knows about and uses that to choose which VirtualHost, and therefore which SSL Certificate, to serve.

Separately, if you want your sites to have HTTPS, don't use <IfModule mod_ssl.c> in your configuration. You would likely rather have the server give you an error if mod_ssl is not loaded.

- Y

On Thu, Jul 19, 2018 at 10:33 AM Robert Earnest Lassiter <robert.lassiter@xxxxxxxxxxxxxxx> wrote:

Cannot determine if it’s possible to run multiple SSL with individual IP/SSL site on same server(ubuntu). We run multiple domains and would like to stack these SSL sites if it’s possible.

No issue multihoming the NIC, no issue multiple domains/server on port 80 – only issue is apache finding the correct SSL cert. It seems to get confused and hangs…

 

Ubuntu – 16.04

Apache –

Server version: Apache/2.4.18 (Ubuntu)

Server built:   2018-06-07T19:43:03

 

 

I’ve tried wild card and setting the ip address

(example )

<IfModule mod_ssl.c>

<VirtualHost *:443>

</VirtualHost>

</IfMod…

 

And

<IfModule mod_ssl.c>

<VirtualHost 1.2.3.4:443> (1.2.3.4 is example)

</VirtualHost>

</IfMod…

 

 

Regards
Robert Earnest Lassiter

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux