• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

IP addresses for SSL

I need to install SSL for domain3 below. Am I correct in understanding that in ssl.conf I need to use another IP different from IP ADDRESS 2 or IP ADDRESS 3?
apachectl configtest
Syntax OK

httpd -S
VirtualHost configuration:
IP ADDRESS 2:80      is a NameVirtualHost
         default server www.domain.com (/etc/httpd/conf/httpd.include:22)
         port 80 namevhost www.domain.com (/etc/httpd/conf/httpd.include:22)
         port 80 namevhost www.domain2.com (/etc/httpd/conf/httpd.include:30)
IP ADDRESS 3:80      is a NameVirtualHost
         default server www.domain3.com (/etc/httpd/conf/httpd.include:3)
         port 80 namevhost www.domain3.com (/etc/httpd/conf/httpd.include:3)
         port 80 namevhost www.domain4.com (/etc/httpd/conf/httpd.include:11)
wildcard NameVirtualHosts and _default_ servers:
_default_:8443         localhost.localdomain (/etc/httpd/conf.d/nss.conf:84)
_default_:443          localhost.localdomain (/etc/httpd/conf.d/ssl.conf:81)
Syntax OK

Open in new window

2 Solutions
Aaron TomoskyTechnology ConsultantCommented:
Ssl can only have one ip per cert. So unless it's a wildcats cert, yes.
ee-gdAuthor Commented:
on one IP I have say two sites, but only one requires SSL - I take it I need not another IP?
so in my case two IPs, multiple sites, but only one site per IP requires SSL - am I correct in understanding that I can get away with only using those two IPs?
That is correct - you can re-use the two IPs multiply for clear sites, but you may only put one SSL host on each IP.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now