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 14th September 2012, 02:40
razor7 razor7 is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 6
Thanked 1 Time in 1 Post
Default Apache fails to start after applying SSL cert to site

Hi, I followed the securing ISPConfig with StartSSL free cert, and everything went just OK as usual with the great tutos here!

As I'm hosting the same domain as the server, I should be able to apply the same certificate to the domain created by ISPConfog through SSL tab in site edit.

The problem is I needed to create a subdomain, and as suggested, just created a new site pointing to it, so I have two sites, site.com and the subdomain (another ispconfig site) it.site.com

If I apply the SSL certificate (created for site.com and subdomain it.site.com through StartSSL) to it.site.com, Apache refuses to start with suspicious error log:
Quote:
[Thu Sep 13 21:34:41 2012] [warn] RSA server certificate CommonName (CN) `it.domain.com' does NOT match server name!?
[Thu Sep 13 21:35:12 2012] [notice] caught SIGTERM, shutting down
Is my new Cert applyed to this subdomain causing this?

Thanks a lot!

PS: Of course, if I erase sites enables it.domain.com.vhost apache starts ok, and if I regenerate the certs through ISPConfig interface the site works ok, but, of course, with SSL warnings.
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2012, 02:54
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 38
Thanked 90 Times in 68 Posts
Default

Yes it's.

From the starssl policy for Class1 certs:

"Wild card domain names like “*.domain.com” are only issued to Class 2
or higher validated subscribers. Likewise multiple domain names within
the same certificate are not supported in the Class 1 settings."

Cheers
Reply With Quote
  #3  
Old 14th September 2012, 03:09
razor7 razor7 is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 6
Thanked 1 Time in 1 Post
 
Default

Well, my mistake!

Just edited the it.domain.com.key file, with the one created at ISPConfig install step and everything worked just ok!

Sorry to bother!
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
apache cannot start after creating a new site orasis General 15 30th January 2013 11:38
how do I install a SSL cert for a website? mangoo General 3 3rd February 2012 12:46
Can't use self-signed SSL after adding real SSL cert mrjohn Installation/Configuration 1 11th January 2011 06:31
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
Error starting Apache (httpd start fails) cfspence Server Operation 5 28th January 2008 07:23


All times are GMT +2. The time now is 22:30.


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