ssl problems

Discussion in 'Installation/Configuration' started by stevegjacobs, Oct 26, 2010.

  1. stevegjacobs

    stevegjacobs New Member

    Hi
    I added extra ip address and an ssl certificate for one domain in ispconfig 3. However I discovered that I had generated a csr for domainname.com instead of www.domainname.com. So I generated a new corrected csr and got back to the ssl provider and had the correct version re-issued. However , after saving the new ssl cert into the control panel, Apache2 refused to restart and killed all my sites. The only way I was able to get this back up again was to manually edit the file for this site in /etc/apache2/sites-enabled/ so that ssl engine was turned off. This is a new site under development but it is ready for testing, so I need to get the cert installed properly. Any idea why this happened?
    ISPconfig 3.0.2.1 on Debian 5.0

    Thanks

    Steve Jacobs
     
  2. ivomendonca

    ivomendonca Banned

    yes, you have to delete manualy the ssl files from vhost.
    And then try again.

    Thats error was allready fixed, install the latest version and try.
     
  3. stevegjacobs

    stevegjacobs New Member

    I upgraded the server yesterday and most everything seemed fine. then I installed the new ssl cert and that worked as well, but I found another problem. A number of sites that share an ip address are all pointing to the same site. I also am getting these errors when restarting apache.
    Code:
    webserver1:~# /etc/init.d/apache2 restart
    Restarting web server: apache2[Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:56 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
     ... waiting .[Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Fri Oct 29 11:59:58 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    .
    
    This is urgent as several sites seem to be down right now.

    Thanks
     
  4. stevegjacobs

    stevegjacobs New Member

    Several sites down - please help

    How do I fix this NameVirtualHost problem? I think this first occurred following add an ssl cert, but it also could have something to do with updating, which I did the day before.
    Many instances of the following when restarting apache:
    Code:
    [Fri Oct 29 13:29:55 2010] [warn] VirtualHost 78.153.221.50:80 overlaps with VirtualHost 78.153.221.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
    
    Thanks
    Steve

    Debian5
    Very latest ISPConfig
     
  5. falko

    falko Super Moderator

    What's the output of
    Code:
    cd /etc/apache2
    grep -Ri namevirtualhost *
    I think there should be the line
    Code:
    NameVirtualHost 78.153.221.50:80
    in /etc/apache2/ports.conf.
     
  6. jtheed

    jtheed HowtoForge Supporter

    Till had me do this and it solved this problem for me.

    In ISPConfig go to system > server IP, click on a ip, disable the namevirtualhost checkbox and click on save. The click on the same ip, enable the checkbox again and click on save.
     
: debian, ispconfig, ssl

Share This Page