IP addresses for SSL

Posted on 2011-10-20
Last Modified: 2012-05-12
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 (/etc/httpd/conf/httpd.include:22)
         port 80 namevhost (/etc/httpd/conf/httpd.include:22)
         port 80 namevhost (/etc/httpd/conf/httpd.include:30)
IP ADDRESS 3:80      is a NameVirtualHost
         default server (/etc/httpd/conf/httpd.include:3)
         port 80 namevhost (/etc/httpd/conf/httpd.include:3)
         port 80 namevhost (/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

Question by:ee-gd
    LVL 38

    Accepted Solution

    Ssl can only have one ip per cert. So unless it's a wildcats cert, yes.

    Author Comment

    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?
    LVL 19

    Assisted Solution

    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

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now