View Single Post
  #9  
Old 30th January 2008, 23:34
Robeast Robeast is offline
Junior Member
 
Join Date: Jan 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Issues securing Webmail with SSL Certificate

Thanks for the reply. When I enter in the command "netstat -tap" here is the output I get:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 4807/mysqld
tcp 0 0 *:www *:* LISTEN 5263/apache2
tcp 0 0 *:81 *:* LISTEN 5219/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 9161/proftpd: (acce
tcp 0 0 server.domain.:domain *:* LISTEN 5408/named
tcp 0 0 localhost.locald:domain *:* LISTEN 5408/named
tcp 0 0 *:smtp *:* LISTEN 9213/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 5408/named
tcp 0 0 *:https *:* LISTEN 5263/apache2
tcp6 0 0 *:imaps *:* LISTEN 4920/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 4956/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 4933/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4900/couriertcpd
tcp6 0 0 *:domain *:* LISTEN 5408/named
tcp6 0 0 *:ssh *:* LISTEN 4713/sshd
tcp6 0 0 *:smtp *:* LISTEN 9213/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 5408/named
tcp6 0 2160 server.domain.com:ssh ::ffff:192.168.25:54729 ESTABLISHED21652/sshd: User

Here is the output for the "httpd -t" command:

Syntax OK

Here my Vhosts_ispconfig.conf file:

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost XXX.XXX.XXX.XXX:80
<VirtualHost XXX.XXX.XXX.XXX:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>

#
#
#
######################################
# Vhost: webmail.domain.com:80
######################################
#
#
<VirtualHost XXX.XXX.XXX.XXX:80>
SSLCertificateChainFile /var/www/web15/ssl/gd_intermediate_bundle.crt
ServerName webmail.domain.com:80
ServerAdmin webmaster@domain.com
DocumentRoot /var/www/webXX/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defa$
ErrorLog /var/www/webXX/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/webXX/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/webXX/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/webXX/user/$1/web/$3
</VirtualHost>
#
#
#


That's all that is in my Vhosts_ispconfig.conf file there is nothing in there for 443. This is with adding the SLCertificateChainFile /var/www/webXX/ssl/gd_intermediate_bundle.crt" line to the Apache Directives
(Optional) textbox in the ISPConfig control panel. Also shouldn't there be commands "SSLEngine on
SSLCertificateFile /var/www/webXX/ssl/www.yourdomain.com.crt
SSLCertificateKeyFile /var/www/webXX/ssl/www.yourdomain.com.key" in there as well? Thanks again for all the help.
Reply With Quote