To deploy a Multi-Domain SSL certificate or an SSL Wildcard certificate on another hosting server for Zimbra, follow these steps:
- Obtain the SSL Certificate Files:
- Receive the SSL certificate file (
server_domain_com.crt), CA bundle file (server_domain_com.ca-bundle), and private key (commercial.key) from your Certificate Authority (CA).
- Receive the SSL certificate file (
- Upload SSL Files to Hosting Server:
- Copy these files to a temporary folder on your hosting server. For example, place them in the
/opt/directory.
- Copy these files to a temporary folder on your hosting server. For example, place them in the
- Set Private Key Permissions:
- Ensure the private key has the correct permissions using
chmod 640 /opt/zimbra/ssl/zimbra/commercial/commercial.key.
- Ensure the private key has the correct permissions using
- Verify Certificate and Private Key Match:
- The output should confirm the successful verification.
- Deploy Multi-Domain or Wildcard Certificate:
- For a multi-domain certificate, specify all domains you wish to cover in the deployment command.
- For a wildcard certificate, ensure it covers all necessary subdomains.
- The output will show the deployment status.
- Verify SSL Deployment:
- Review the details to ensure the correct certificate is active.
- Restart Zimbra Services:
- Log in as the
zimbrauser and restart services withsudo zmcontrol restart.
- Log in as the
- Check SSL Configuration:
- Use an online tool like https://decoder.link/sslchecker/ to verify your SSL settings.
Check the deployment using:
/opt/zimbra/bin/zmcertmgr viewdeployedcrt
Use the following command to deploy the certificate:
/opt/zimbra/bin/zmcertmgr deploycrt comm /opt/server_domain_com.crt /opt/server_domain_com.ca-bundle
Use the following command to verify that the certificate matches the private key:
/opt/zimbra/bin/zmcertmgr verifycrt comm /opt/server_domain_com.crt /opt/server_domain_com.ca-bundle
