Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st January 2010, 21:06
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default Apache2 won't start with virtual ssl setup

Hi , I have setup a server 1 website and need ssl support for the site. Have mod_ssl installed and ssl mod enabled but when I create a virtual host for for my website I am unable to start apache.

Last edited by icompany; 9th January 2010 at 17:46.
Reply With Quote
Sponsored Links
  #2  
Old 2nd January 2010, 15:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please use
Code:
<VirtualHost 192.168.1.5:80>
instead of
Code:
<VirtualHost 192.168.1.5>
__________________
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
  #3  
Old 3rd January 2010, 04:40
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I added the above to the virtual host but am still unable to start apache with ssl activated

Last edited by icompany; 4th January 2010 at 16:47.
Reply With Quote
  #4  
Old 3rd January 2010, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in the error log now?
__________________
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
  #5  
Old 3rd January 2010, 18:07
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default

which error log would it be located in?

Last edited by icompany; 4th January 2010 at 16:47.
Reply With Quote
  #6  
Old 4th January 2010, 15:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by icompany View Post
Code:
[Sun Jan 03 12:05:14 2010] [error] Unable to configure RSA server private key
[Sun Jan 03 12:05:14 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
What's the output of
Code:
ls -la /etc/apache2/ssl.crt/
?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
icompany (4th January 2010)
  #7  
Old 4th January 2010, 16:46
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

I think I have this problem solved. I used a different system certificate and was able to start apache2 with a certificate error on browser access. I'll need to troubleshoot the certificate problem. By purchasing or creating a self signed. Thanks falko
Reply With Quote
Reply

Bookmarks

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
Creating a SSL certificate - Quick guide SamTzu Tips/Tricks/Mods 22 4th January 2011 13:38
Apache2 and multiple SSL configs and name based virtual hosting Creator1326 Server Operation 11 5th October 2010 19:28
Virtual Sites & DNS Setup Jayson Wonder Installation/Configuration 27 11th December 2008 18:08
Mail server - setup virtual mail boxes satimis Server Operation 4 11th February 2007 15:50
Where to Start with Apache2? Vorlon Server Operation 2 20th October 2005 01:12


All times are GMT +2. The time now is 23:42.


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