Zimbra Tips : How to Configure SSL on Zimbra Apache (Port 7780)

I get a question about how to configure SSL on port 7780 in Zimbra. This port used for access policyd web admin. When access Zimbra Apache on port 7780, by default will use HTTP instead of HTTPS.

This guide will help you how to configure SSL in Zimbra Apache (7780).

Open file httpd.conf

vi /opt/zimbra/conf/httpd.conf

Please remove # from LoadModule ssl_module /opt/zimbra/common/lib/apache2/modules/mod_ssl.so. Please add these line in the bottom

SSLEngine on
SSLCertificateFile /opt/zimbra/ssl/zimbra/commercial/commercial.crt
SSLCertificateKeyFile /opt/zimbra/ssl/zimbra/commercial/commercial.key
SSLCertificateChainFile /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt

Save and add mod_ssl to modules folder

curl -k https://raw.githubusercontent.com/imanudin11/lainlain/master/mod_ssl.so > /opt/zimbra/common/lib/apache2/modules/mod_ssl.so

Restart Zimbra Apache

su - zimbra
zmapachectl restart

The following is an example on my browser when access port 7780 using https.

Good luck and hopefully useful 🙂


        1. Hello,
          Please try to use mod_ssl from apache.

          apt-get install apache
          yum install mod_ssl

          Please search mod_ssl using find

          find / | grep -i mod_ssl

          Then, you can replace mod_ssl with mod_ssl from apache/http

          1. Dear Pro,
            “Then, you can replace mod_ssl with mod_ssl from apache/http”
            Please, Detailed instructions help me.
            Many Thanks!

          2. Hello,
            You can try this one :

            yum install mod_ssl
            cp /usr/lib64/httpd/modules/mod_ssl.so /opt/zimbra/common/lib/apache2/modules/mod_ssl.so

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.