#1  
Old 26th October 2010, 18:12
stevegjacobs stevegjacobs is offline
Junior Member
 
Join Date: Sep 2008
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default ssl problems

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
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2010, 20:27
ivomendonca ivomendonca is offline
Banned
 
Join Date: Sep 2009
Posts: 132
Thanks: 10
Thanked 13 Times in 7 Posts
Default

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.
Reply With Quote
  #3  
Old 29th October 2010, 13:11
stevegjacobs stevegjacobs is offline
Junior Member
 
Join Date: Sep 2008
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #4  
Old 29th October 2010, 14:38
stevegjacobs stevegjacobs is offline
Junior Member
 
Join Date: Sep 2008
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default 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
Reply With Quote
The Following User Says Thank You to stevegjacobs For This Useful Post:
AbannyvabVask (18th December 2013)
  #5  
Old 30th October 2010, 14:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 30th October 2010, 17:16
jtheed jtheed is offline
Member
 
Join Date: Jul 2007
Posts: 70
Thanks: 12
Thanked 4 Times in 3 Posts
 
Default

Quote:
Originally Posted by stevegjacobs View Post
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
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.
Reply With Quote
The Following 2 Users Say Thank You to jtheed For This Useful Post:
AbannyvabVask (16th December 2013), EdjeB (3rd March 2011)
Reply

Bookmarks

Tags
debian, ispconfig, ssl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 - CentOS 5.4 - SSL Problems!?! owainbaber Installation/Configuration 4 26th July 2011 17:12
Creating a SSL certificate - Quick guide SamTzu Tips/Tricks/Mods 22 4th January 2011 13:38
SSL configuration problems Jesper General 2 6th February 2009 10:51
SSL for virtual hosts on one certificate rbartz Tips/Tricks/Mods 8 20th November 2007 17:59
REAL SSL Cert install problems theduke Installation/Configuration 5 4th October 2005 22:06


All times are GMT +2. The time now is 15:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.