Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th November 2012, 22:19
servidoresadmin.com servidoresadmin.com is offline
Junior Member
 
Join Date: Nov 2012
Posts: 24
Thanks: 0
Thanked 4 Times in 3 Posts
Default Ssl is not writed on apache

Hi,

I'm working on ispconfig 3.0.4.6 and when I create a new ssl cert, it is not created under apache virtual hosts.

Till, please let me know how can we reinstall ispconfig and test with a new installation....

We save certificate, create certificate, restart apache but apache can't create virtual hosts for ssl cert.

I put into debug and can see:



19.11.2012-20:00 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:00 - DEBUG - No Updated records found, starting only the core.
19.11.2012-20:00 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:01 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:01 - DEBUG - Found 1 changes, starting update process.
19.11.2012-20:01 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:01 - DEBUG - Saving SSL Cert for: panel.my-web.com
19.11.2012-20:01 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:01 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12
19.11.2012-20:01 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12/*
19.11.2012-20:01 - DEBUG - exec: chmod 710 /var/www/clients/client1/web12/web
19.11.2012-20:01 - DEBUG - exec: chmod 777 /var/www/clients/client1/web12/tmp
19.11.2012-20:01 - DEBUG - exec: chmod 755 /var/www/clients/client1/web12/log
19.11.2012-20:01 - DEBUG - exec: usermod --groups sshusers web12
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/cgi-bin
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/ssl
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/tmp
19.11.2012-20:01 - DEBUG - exec: chown -R web12:client1 /var/www/clients/client1/web12/web
19.11.2012-20:01 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log/error.log
19.11.2012-20:01 - DEBUG - Creating fastcgi starter script: /var/www/php-fcgi-scripts/web12/.php-fcgi-starter
19.11.2012-20:01 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/panel.my-web.com.vhost
19.11.2012-20:01 - DEBUG - Apache status is: 1
19.11.2012-20:01 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
19.11.2012-20:01 - DEBUG - Apache online status after restart is: 1
19.11.2012-20:01 - DEBUG - Processed datalog_id 628
19.11.2012-20:01 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:02 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:02 - DEBUG - Found 3 changes, starting update process.
19.11.2012-20:02 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12/*
19.11.2012-20:02 - DEBUG - exec: chmod 710 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chmod 777 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chmod 755 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: usermod --groups sshusers web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/cgi-bin
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/ssl
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chown -R web12:client1 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log/error.log
19.11.2012-20:02 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/panel.my-web.com.vhost
19.11.2012-20:02 - DEBUG - Apache status is: 1
19.11.2012-20:02 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
19.11.2012-20:02 - DEBUG - Apache online status after restart is: 1
19.11.2012-20:02 - DEBUG - Processed datalog_id 629
19.11.2012-20:02 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - Saving SSL Cert for: panel.my-web.com
19.11.2012-20:02 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12/*
19.11.2012-20:02 - DEBUG - exec: chmod 710 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chmod 777 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chmod 755 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: usermod --groups sshusers web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/cgi-bin
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/ssl
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chown -R web12:client1 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log/error.log
19.11.2012-20:02 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/panel.my-web.com.vhost
19.11.2012-20:02 - DEBUG - Apache status is: 1
19.11.2012-20:02 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
19.11.2012-20:02 - DEBUG - Apache online status after restart is: 1
19.11.2012-20:02 - DEBUG - Processed datalog_id 630
19.11.2012-20:02 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - Saving SSL Cert for: panel.my-web.com
19.11.2012-20:02 - DEBUG - Calling function 'update' from plugin 'apache2_plugin' raised by event 'web_domain_update'.
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chmod 751 /var/www/clients/client1/web12/*
19.11.2012-20:02 - DEBUG - exec: chmod 710 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chmod 777 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chmod 755 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: usermod --groups sshusers web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/cgi-bin
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/ssl
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/tmp
19.11.2012-20:02 - DEBUG - exec: chown -R web12:client1 /var/www/clients/client1/web12/web
19.11.2012-20:02 - DEBUG - exec: chown web12:client1 /var/www/clients/client1/web12/log/error.log
19.11.2012-20:02 - DEBUG - Creating fastcgi starter script: /var/www/php-fcgi-scripts/web12/.php-fcgi-starter
19.11.2012-20:02 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/panel.my-web.com.vhost
19.11.2012-20:02 - DEBUG - Apache status is: 1
19.11.2012-20:02 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
19.11.2012-20:02 - DEBUG - Apache online status after restart is: 1
19.11.2012-20:02 - DEBUG - Processed datalog_id 631
19.11.2012-20:02 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:03 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:03 - DEBUG - No Updated records found, starting only the core.
19.11.2012-20:03 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:04 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
19.11.2012-20:04 - DEBUG - No Updated records found, starting only the core.
19.11.2012-20:04 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock

Thanks,
Servidores Administrados

Last edited by servidoresadmin.com; 19th November 2012 at 22:35. Reason: security
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2012, 22:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Till, please let me know how can we reinstall ispconfig and test with a new installation....
There is no need to reinstall your system.

The ssl vhost is not created when there is a problem with the ssl certificate e.g. because openssl could not create the cert due to special chars entered in the ssl cert detail fields. Ensure that the ssl checkbox is enabled in the website settings and that you selected a Ip address in the website settings. Go o the ssl tab of the site and select delete as action to remove the broken ssl cert and click on save. Then neter the correct ssl cert details, choose create as action and click on save and wait 1-2 minutes.

The detailed instructions on how to create a ssl certificate aredescribed in the manual as well.
__________________
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 and multiple virtual hosts in apache max123 Server Operation 4 20th November 2012 16:00
sessions not being saved gavimobile General 6 15th January 2012 16:05
Need help with ISPConfig 3 Update midcarolina Installation/Configuration 36 8th November 2011 23:07
problems with suexec gobokster Installation/Configuration 7 7th May 2009 14:33
SSL "connection interrupted" apache not listening on 443 yuro Installation/Configuration 10 28th October 2008 15:42


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


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