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 8th July 2012, 18:25
jbd123 jbd123 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default Issue configuring an SSL domain with current certificate

Hi

I've been moving some domains into ISPConfig. Previously the domains were all manually created and managed but I've hit an issue with an SSL domain.

Our domain, call it "example.com", has an existing Key, CSR, Cert and Bundle. The certificate is for "www.example.com" and has worked ok for the last 9 months or so.

I set example.com up in ISPConfig, clicked the "SSL" checkbox & Auto Subdomain = "www" ... and added the CSR, Cert and Intermediate Cert to the relevant fields, select "Save Certificate", hit save and wait for the job queue to run.
Upon browsing to the domain "https://www.example.com", Chrome throws an error about a self signed certificate - the site is delivering the self-signed cert that was used in ISPConfig install (default vhost?).

I jump onto a shell:

* nginx -t - shows all is OK with the server config
* there is no SSL server conf file set up for example.com - it seems that ISPConfig is saving the cert but not creating the required web server config file.
* in the domain's "ssl" dir I see www.example.com.csr and www.example.com.crt - no sign of the key file, though.

In order to get the SSL domain up and running, I created a web server config file containing the required path to the cert (ssl_certificate) and the key file (ssl_certificate_key).

With a pre-existing SSL setup how do I get ISPConfig to find the key file and create the required server config file. I'm concerned that it will create the vhost file and conflict with my manually created file.

Using latest ISPConfig stable & Nginx...

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 9th July 2012, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
 
Default

You have to copy the key file manually when you havent created the ssl cert in ispconfig. See chapter 541 of the ISPConfig manual:

"5.4.1 How Do I Import An Existing SSL Certificate Into A Web Site
That Was Created Later In ISPConfig?"

http://www.ispconfig.org/ispconfig-3...nfig-3-manual/
__________________
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
Configuring SSL certificate to website ISPConfig 3 rogeriosjr Installation/Configuration 16 3rd August 2012 16:19
Need help with ISPConfig 3 Update midcarolina Installation/Configuration 36 8th November 2011 22:07
rkhunter warnings esezako General 7 27th September 2011 07:28
adding mail boxes kwickcut Server Operation 20 11th August 2010 01:02
SSL related problems senzapaura Installation/Configuration 45 25th March 2006 14:15


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


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