Apache SSL Certificate problems

Discussion in 'Installation/Configuration' started by queter, Dec 9, 2011.

  1. queter

    queter New Member

    Hi all,

    I'm very satisfied with my ISPConfig installation, but I have one problem I've been trying to solve.

    I am hosting 20 domains approx. and only 1 of them has a Comodo SSL certificate. I didn't create it through the ISPConfig Panel, just copied the files in /var/www/domain.com/ssl and after that added a < *:443> Virtualhost in its domain file.

    This domain is working ok, but all others domains redirect to this one if I type https, when https is not activated in their webdomain.

    All I need is the rest of domains show a 404 or even a plain http redirection when trying https, because they don't need ssl.

    Any clue?
    Thanks in advance.
     
  2. nveid

    nveid New Member

    Do not use *:443 for SSL. For that matter I recommend don't use *: at all, ever. As my son says, "no, no, never again,".. Apache gets confused, put direct IPs in there. Anoter thing, while it possible to have multiple domains on the same IP for SSL. Its not the best way to do it. If you can a lot a separate IP per each SSL is the best way to do it. As long as you have multiple sites on the same IP as one particular SSL site from my understanding, the non SSL-sites should be going to the first matched SSL configured site on that IP. Someone correct me if I'm wrong, I don't practice the multiple SSL sites on the same IP, additional IPs are not that expensive to set it up correctly and anyone that requires an SSL-cert generally can afford the purchase of a dedicated IP because they're doing some kinda ecommerce usually.
     
    Last edited: Dec 9, 2011

Share This Page