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 🙂
Hello pro!
I am restart service:
http://prntscr.com/mog35o
Hello,
What Zimbra version that used?
Hello
Zimbra version 8.8.9
Hello,
Please try to use mod_ssl from apache.
Please search mod_ssl using find
Then, you can replace mod_ssl with mod_ssl from apache/http
Dear Pro,
“Then, you can replace mod_ssl with mod_ssl from apache/http”
Please, Detailed instructions help me.
Many Thanks!
Hello,
What OS that used for your Zimbra?
Hello, I am use Centos 6.9
Hello,
You can try this one :
halo mas, mau tanya mas,gmna cara install ssl zimbra ya,sya ada sertifikat nya sdiri mas.
apakah harus install dlu apache nya mas? atau gman mas?
satu lagi mas,,sya
zmprov md sbs.com zimbraAmavisDomainDisclaimerHTML “”The contents of this e-mail and attachments are confidential and subject to legal privilege””
sprti itu error mas.
error nya ini mas.
ERROR: account.INVALID ATTR NAME (invalid attr name: invalid attr name – unable to modify attributes: ldap host=sbs.com:389: damage: attribute type undefined) (cause: com.zimbra.cs.ldap.LdapException$LdapInvalidAttrNameException invalid attr name – unable to modify attributes: ldap host=sbs.com:389: damage: attribute type undefined)
Hi mas,
Untuk instalasi SSL bisa ikuti panduan dari Wiki Zimbra : https://wiki.zimbra.com/wiki/Installing_a_Comodo_SSL_Certificate_on_Zimbra_Collaboration
Terkait dengan disclaimer, silakan ikuti panduan berikut : https://imanudin.com/2014/07/12/tips-menambahkan-disclaimer-pada-zimbra/
My Centos version 6.10, Processor 64 Bit,
I am getting this error:
[zimbra@smtpgw ~]$ zmapachectl restart
Stopping apache…httpd: Syntax error on line 127 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/common/lib/apache2/modules/mod_ssl.so into server: /opt/zimbra/common/lib/apache2/modules/mod_ssl.so: undefined symbol: unixd_config
failed.
Starting apache…httpd: Syntax error on line 127 of /opt/zimbra/conf/httpd.conf: Cannot load /opt/zimbra/common/lib/apache2/modules/mod_ssl.so into server: /opt/zimbra/common/lib/apache2/modules/mod_ssl.so: undefined symbol: unixd_config
failed.
Hello Kamrul Ahsan,
You can try to install Apache Mod SSL and get it mod and copy to /opt/zimbra/common/lib/apache2/modules/
If someone come here having trouble after upgrading and is using centOS, just copy the Apache Mod SSL file from the system to the Zimbra instalation as iman mentioned above:
“`
yum install mod_ssl
cp /usr/lib64/httpd/modules/mod_ssl.so /opt/zimbra/common/lib/apache2/modules/mod_ssl.so
“`
source: https://imanudin.net/2019/02/21/zimbra-tips-how-to-configure-ssl-on-zimbra-apache-port-7780/#comment-33088