Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th April 2013, 08:01
Tarm Tarm is offline
Junior Member
 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 2 Times in 1 Post
Default Apache not starting after installing SSL certificate on a website

Hello!

I tried to install a already existing certificate from GoDaddy on a website in ISPConfig3. I first enabled the SSL checkbox, then copy/pasted the certificate in the SSL tab.

After I did this, apache crashed, and could not start. I'll admit I panicked a bit, but further on I navigated to /var/www/example.com/ssl, and deleted the certificates. I tried to restart apache, but then it could not find the certificates, and would not start (obviously). I went in /etc/apache2/sites-enabled/100-example.com vhost, and removed the certificate paths from:

Code:
    <IfModule mod_ssl.c>
#       SSLEngine on

    </IfModule>
I then tried restarting apache, but now I'm getting this error message in apache:

[Fri Apr 19 07:57:49 2013] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

Any suggestions? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2013, 14:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

To install a existing ssl cert, you have to copy / paste the cert and the key into the cert and key fields on the ssl tab of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th April 2013, 15:25
Tarm Tarm is offline
Junior Member
 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 2 Times in 1 Post
Default

Hello,

yes, I did that, but somehow Apache crashed afterwards. The apache process went down, and won't start up again, and the last error I'm getting is:
[Fri Apr 19 07:57:49 2013] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

I tried to remove the certificates from the vhost (/var/www/example.com/ssl), and in the vhost file (/etc/apache2/sites-enabled/example.com vhost), to redo the changes with the certificate (i.e use none certificate for the website).

Last edited by Tarm; 19th April 2013 at 15:34.
Reply With Quote
  #4  
Old 19th April 2013, 15:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
Default

Delete the link to the vhost file in the sites-enabled folder and then restart apache, you should be able tologin to ispconfig again then and redo the ssl setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Tarm (19th April 2013)
  #5  
Old 19th April 2013, 16:01
Tarm Tarm is offline
Junior Member
 
Join Date: Oct 2012
Posts: 10
Thanks: 2
Thanked 2 Times in 1 Post
Default

Thanks! That did it. I appreciate the help :- ) You should have a donate button in your signature.
Reply With Quote
  #6  
Old 19th April 2013, 16:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,259 Times in 4,123 Posts
 
Default

Quote:
Originally Posted by Tarm View Post
Thanks! That did it. I appreciate the help :- ) You should have a donate button in your signature.
If you like to donate to the ispconfig project and supports its further development and enable us to contine with support that we do here at the forum, then please consider to buy a howtoforge subscription:

http://www.howtoforge.com/subscription
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
SSL Certificate Error - Apache does not start snowfly Installation/Configuration 9 23rd April 2014 04:01
ssl and multiple virtual hosts in apache max123 Server Operation 4 20th November 2012 15:00
how do I install a SSL cert for a website? mangoo General 3 3rd February 2012 12:46
Apache hangs without traffic Thesee General 21 27th September 2011 23:43
Creating a SSL certificate - Quick guide SamTzu Tips/Tricks/Mods 22 4th January 2011 13:38


All times are GMT +2. The time now is 20:03.


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