Hi Team,
I am using CentOS 6.5 on Apache.
When configured to SSL to have multiple Virtual host with the SSL certificate throws following error when restarting Apache.
root@tst ~]# sudo service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Wed Nov 04 12:23:46 2015] [warn] _default_ VirtualHost overlap on port 443, the first has precedence.
SSL Config as below and we have only 1 IP for this server and separate set of certificates each host.
<VirtualHost *:443>
ServerName xxx.xxxx.xxx.xx
.......
</VirtualHost>
<VirtualHost *:443>
ServerName yyy.yyyy.yyy.yy
.......
</VirtualHost>
Please can you help me to find the issue.
Thanks,
Maz
Multiple SSL certificates on CentOS/Apache
Re: Multiple SSL certificates on CentOS/Apache
I guessing .. don't use the port as the differentiator (is that a word?) for the virtual hosts, use something else (like the URL).
Re: Multiple SSL certificates on CentOS/Apache
If you are doing SSL then either you need a separate IP address for each different site that requires a different certificate or you need to use SNI.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke