Installing a Comodo SSL on Zimbra using CLI Rumi, April 14, 2019April 14, 2019 1. Get the bundle from Comodo in crt format, or sometimes like a zip file. 2. Place the bundle on your Zimbra mailbox server. You should receive, or download, the next files: AddTrustExternalCARoot.crt COMODORSAAddTrustCA.crt COMODORSADomainValidationSecureServerCA.crt my_domain_com.crt or since comodo is acquired by Sectigo, the updated zip might appear as below: AddTrustExternalCARoot.crt SectigoRSADomainValidationSecureServerCA.crt USERTrustRSAAddTrustCA.crt my_domain_com.crt Note the root and intermediate files may have different names depends of the SSL Certificate, like PositiveSSL, etc. Note 2 all the below commands should be run as zimbra user starting ZCS 8.7 and above, and as a root user in ZCS 8.6 and below. 3. Cat the CA certs to form a single CA certificate chain file cat AddTrustExternalCARoot.crt COMODORSAAddTrustCA.crt COMODORSADomainValidationSecureServerCA.crt > /tmp/commercial_ca.crt or at AddTrustExternalCARoot.crt USERTrustRSAAddTrustCA.crt SectigoRSADomainValidationSecureServerCA.crt > /tmp/commercial_ca.crt 4. Place the SSL certificate in /tmp/commercial.crt. cp my_domain_com.crt /tmp/commercial.crt now copy all below files to this path: Key file: /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key Domain Certificate File: /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.crt CA Certificate File (The chain CA certificate file as created in Step-3): /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt 5. Check that your SSL certificate, your private key and the Intermediate CA are OK, this step is important and you should not continue if you receive an error here: /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key ** Verifying /opt/zimbra/ssl/zimbra/commercial/commercial.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key Certificate (/tmp/commercial.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match. Valid Certificate: /opt/zimbra/ssl/zimbra/commercial/commercial.crt: OK 6. Deploy the commercial certificate with zmcertmgr as the root user. /opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt ** Verifying /tmp/commercial.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key Certificate (/tmp/commercial.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match. Valid Certificate: /opt/zimbra/ssl/zimbra/commercial/commercial.crt: OK ** Copying /opt/zimbra/ssl/zimbra/commercial/commercial.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt ** Appending ca chain /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt ** Importing certificate /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt to CACERTS as zcs-user-commercial_ca...done. ** NOTE: mailboxd must be restarted in order to use the imported certificate. ** Saving server config key zimbraSSLCertificate...done. ** Saving server config key zimbraSSLPrivateKey...done. ** Installing mta certificate and key...done. ** Installing slapd certificate and key...done. ** Installing proxy certificate and key...done. ** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done. ** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done. ** Installing CA to /opt/zimbra/conf/ca...done. 7. Restart the Zimbra Services zmcontrol restart Src: https://wiki.zimbra.com/wiki/Installing_a_Comodo_SSL_Certificate_on_Zimbra_Collaboration Related Administrations PKI SSLzimbra
Install wkhtmltopdf on Debian 8, 9 August 3, 2018January 18, 2019 Installation on Debian 8 apt-get update aptitude install xfonts-base xfonts-75dpi fontconfig xvfb mkdir ~/src/wkhtmltopdf -p cd ~/src/wkhtmltopdf wget https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb dpkg -i wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb echo ‘xvfb-run –server-args=”-screen 0, 1024x768x24″ /usr/local/bin/wkhtmltopdf $*’ > /usr/bin/wkhtmltopdf.sh chmod a+rx /usr/bin/wkhtmltopdf.sh ln -s /usr/bin/wkhtmltopdf.sh /usr/local/sbin/wkhtmltopdf /usr/local/sbin/wkhtmltopdf https://www.google.fr output.pdf Installation on Debian 9 Related Read More
Limit Sending/Receipt Email Per day, Per Week or Per Month September 12, 2023 For activating module accounting, open webui via browser http://>zimbra-host>:7780/webui/index.php choose accounting | configure. Select add, and fill with the following example Name : Rate limit perday Link to policy : Default Track : Sender:@domain . You can choose with your choice Period : Daily Message Count Limit : 5000 Message Cumulative Size Limit :… Read More
Change cluster node IP in Proxmox March 4, 2020 To update the present cluster host proxmox following files need to be updated: /etc/network/interfaces /etc/hosts /etc/pve/corosync.conf (only on one node necessary) However, corosync.conf needs special way to edit the file! Edit corosync.conf Editing the corosync.conf file is not always very straightforward. There are two on each cluster node, one in… Read More