Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 15th January 2010, 16:43
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default

I had the same problem and therefore I used one cert with multiple commonNames.
Reply With Quote
Sponsored Links
  #12  
Old 11th March 2010, 13:30
johnboy4809 johnboy4809 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default still cant get this to work

hi guys, im still not able to get this to work using either methods on this post, do you know if there is anywhere to start with checking my server setup to find the problem, just a wild idea but could this be anything to do with using the PowerPC build of debian below is my virtualhost config file for my site. can anyone see any errors in this

thanks for you time and help folks
<Directory /var/www/thecraftykitten.co.uk>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost 192.168.2.4:80>
DocumentRoot /var/www/thecraftykitten.co.uk/web

ServerName thecraftykitten.co.uk
ServerAlias www.thecraftykitten.co.uk
ServerAdmin webmaster@thecraftykitten.co.uk

ErrorLog /var/log/ispconfig/httpd/thecraftykitten.co.uk/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/thecraftykitten.co.uk/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client2/web2/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>

# cgi enabled
<Directory /var/www/clients/client2/web2/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client2/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web2 client2
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@thecraftykitten.co.uk"
php_admin_value upload_tmp_dir /var/www/clients/client2/web2/tmp
php_admin_value session.save_path /var/www/clients/client2/web2/tmp
php_admin_value open_basedir /var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/usr/share/php5


</VirtualHost>



#<IfModule mod_ssl.c>
################################################## #########
# SSL Vhost
################################################## #########

<IfModule mod_gnutls.c>
################################################## #########
# GNUTLS SSL Vhost
################################################## #########


<VirtualHost 192.168.2.4:443>
DocumentRoot /var/www/thecraftykitten.co.uk/web

ServerName thecraftykitten.co.uk
ServerAlias www.thecraftykitten.co.uk
ServerAdmin webmaster@thecraftykitten.co.uk

ErrorLog /var/log/ispconfig/httpd/thecraftykitten.co.uk/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

# SSLEngine on
# SSLCertificateFile /var/www/clients/client2/web2/ssl/thecraftykitten.co.uk.crt
# SSLCertificateKeyFile /var/www/clients/client2/web2/ssl/thecraftykitten.co.uk.key
#
GnuTLSEnable on
GnuTLSPriorities NORMAL
GnuTLSCertificateFile /var/www/clients/client2/web2/ssl/thecraftykitten.co.uk.crt
GnuTLSKeyFile /var/www/clients/client2/web2/ssl/thecraftykitten.co.uk.key

<Directory /var/www/thecraftykitten.co.uk/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client2/web2/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>

# cgi enabled
<Directory /var/www/clients/client2/web2/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client2/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
# suexec enabled
SuexecUserGroup web2 client2
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@thecraftykitten.co.uk"
php_admin_value upload_tmp_dir /var/www/clients/client2/web2/tmp
php_admin_value session.save_path /var/www/clients/client2/web2/tmp
php_admin_value open_basedir /var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/usr/share/php5:/tmp


</VirtualHost>
</IfModule>
Reply With Quote
  #13  
Old 11th March 2010, 13:45
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default

You must specify more closely the problem. Post error log etc...
Reply With Quote
  #14  
Old 11th March 2010, 14:41
johnboy4809 johnboy4809 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the problem im having is that all hosted sites still try to use the same certificate, will have a look at the error logs, but not sure which one deals with the certificates
Reply With Quote
  #15  
Old 11th March 2010, 14:52
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default

Yes, I had this problem too, I solved it by using one cert for all sites, I wrote about this in previevious posts.
Reply With Quote
  #16  
Old 11th March 2010, 15:32
johnboy4809 johnboy4809 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i tried your method too about adding the domains to the openssl conf file but this did not work either
Reply With Quote
  #17  
Old 11th March 2010, 16:11
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
Default

and after adding domains to openssl.conf you must recreate certificate.......(create new key and csr for signing)
Reply With Quote
  #18  
Old 11th March 2010, 16:16
johnboy4809 johnboy4809 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yep i did tht and had the certificate signed by CaCert
Reply With Quote
  #19  
Old 11th March 2010, 16:18
johnboy4809 johnboy4809 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

did you disable gnutls and reactivate ssl in order to get this mehod to work?
Reply With Quote
  #20  
Old 11th March 2010, 16:21
tio289 tio289 is offline
Member
 
Join Date: Mar 2009
Posts: 70
Thanks: 2
Thanked 14 Times in 9 Posts
 
Default

if you deactivate gnutls and activate ssl, them you can use only one virtual ssl based host per IP.
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
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Tips/Tricks/Mods 1 30th September 2009 18:08
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Installation/Configuration 0 10th April 2009 04:54
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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