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
  #31  
Old 1st March 2009, 00:19
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

In the httpd.conf file, i just have one line in the whole file:

Code:
NameVirtualHost *:80
Nothing in the apache2.conf file.
Reply With Quote
Sponsored Links
  #32  
Old 1st March 2009, 01:43
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

I just tried it again and this time looked at apache2 error.log after it wouldn't restart. Here is the error:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/htscanner.so' - /usr/lib/php5/20060613+lfs/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
Reply With Quote
  #33  
Old 1st March 2009, 03:17
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

Maybe it would be beneficial for me to see what a known working default and vhost file with SSL enabled looks like? Are you able to post yours with SSL enabled for me to look at and see what differences there are?
Reply With Quote
  #34  
Old 1st March 2009, 11:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Quote:
Originally Posted by koltz View Post
I just tried it again and this time looked at apache2 error.log after it wouldn't restart. Here is the error:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/htscanner.so' - /usr/lib/php5/20060613+lfs/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
This is a php module which you installed and were a file is missing, this is nothing ispconfig related. Either you reinstall this php module so that the .so file is there or you remove it from the php configuration.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #35  
Old 1st March 2009, 21:22
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you post actual default and vhost files that have SSL enabled?
Reply With Quote
  #36  
Old 2nd March 2009, 12:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

You can find the templates for the vhost file here:

/usr/local/ispconfig/server/conf/vhost.conf.master

It contains also the ssl part.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #37  
Old 3rd March 2009, 15:40
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Well got it working. Looking at the instructions (for Ubuntu), it doesn't look like there is anything in it for adding SSL besides the module and enabling it. I had to create the local certs using openssl, copied /etc/apache2/sites-available/default to /etc/apache2/sites-available/ssl, making a link to /sites-enabled. I then changed in the ssl file

from:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
to:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
and added to following underneath the DocumentRoot line:

Code:
        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/server.crt
        SSLCertificateKeyFile /etc/ssl/private/server.key
I created the CRT and KEY files with openssl and installed them in the above paths. I restarted apache and got my SSL working for my site. Getting the local cert created then I had to figure out getting the GoDaddy cert in there, but finally did that last night.
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
MyDNS And The MyDNSConfig Control Panel and ISPConfig pg001 General 2 29th July 2008 02:31
ispconfig 3 joining frontend Snowman General 1 28th June 2008 17:28
MyDNS + ISPConfig msource General 1 5th May 2007 13:05
MyDNS and ISPConfig CoDonCo General 3 27th July 2006 08:25
ISPConfig Devel Report. till Developers' Forum 3 27th November 2005 15:07


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


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