Hi,
so I have managed to get zimbra work over https. As I have supposed I had a conflict of ports: both zimbraMailSSLPort and zimbraAdminPort were running on the same port.
%%%%% HTTPS ACCESS OVER PORT 7443 %%%%%%%%%
What I did:
zmprov ms my_server.domane.example zimbraMailSSLPort 7443
zmtlsctl https
tomcat restart
so now I have my zimbra user web under
https://my_server.domane.example:7443
I would like to have it running under the usual 443 https port. The problem is that on the zimbra server run also apache and jahia.
%%%%% HTTP ACCESS OVER PORT 80 %%%%%%%%%
To get the http Mode run on port 80 I have used mod_jk by following
Zimbra with Apache using mod jk - ZimbraWiki
the only difference in my setup is that instead of creating an extra /etc/httpd/conf.d/tomcat.conf file
I have added the following settings into the /etc/httpd/conf/httpd.conf file:
# Load mod_jk module
# Update this path to match your modules location
LoadModule jk_module modules/mod_jk.so
# Declare the module for <IfModule directive> (remove this line on Apache 2.x)
# AddModule mod_jk.c
# Where to find workers.properties
# Update this path to match your conf directory location (put workers.properties next to httpd.conf)
JkWorkersFile /etc/httpd/conf/workers.properties
# Where to put jk logs
# Update this path to match your logs directory location (put mod_jk.log next to access_log)
JkLogFile /etc/httpd/logs/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
<VirtualHost *>
ServerAdmin
netmaster@domain.example
ServerName server.domain.example
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog logs/server_rewrite.log
RewriteLogLevel 0
RewriteRule ^/$
http://server.domain.example/zimbra
</IfModule>
# JkMount /*.* zimbraworker
JkMount /zimbra zimbraworker
JkMount /zimbra/ zimbraworker
JkMount /zimbra/* zimbraworker
JkMount /service zimbraworker
JkMount /service/ zimbraworker
JkMount /service/* zimbraworker
JkMount /zimbraAdmin zimbraworker
JkMount /zimbraAdmin/ zimbraworker
JkMount /zimbraAdmin/* zimbraworker
# JkMount /*.ico zimbraworker
JkMount //zimbra zimbraworker
ErrorLog logs/server.domain.example-error_log
CustomLog logs/server.domain.example-access_log common
</VirtualHost>
%%%%% HTTPS ACCESS OVER PORT 443 %%%%%%%%%
Now I want to access my mails with ssl on port 443.
And here I have problems.
First of all I switch the zimbraMailMode to https. At this point since zimbraMailSSLPort=7443
I can access zimbra on port 7443.
But how to access it on 443??????
I have though that the steps done for port 80 are enough for 443 but it does not work!
What should I do? The problem is that I am not sure weather on my apache ssl is enabled or not. I see that an httpd is listening on port 443 but I do not know where does it come from.
Could you tell me step by step what should I do, inclusive how do I understand who is using port 443 and what should I do to let apache use ssl to connect to zimbra?