
Renew an Expired Zimbra Self-Signed Certificate
Replace an expired Zimbra self-signed certificate, preserve the CA when appropriate, and verify each service presents the renewed certificate.
A Zimbra Admin Console 404 after an SSL renewal does not, by itself, prove that the new certificate is bad. A certificate or TLS failure usually stops the HTTPS handshake or shows a browser certificate warning; an HTTP 404 means a server answered the request but did not find a matching page or route. First test the console’s direct mailbox URL on port 7071, then test the optional proxy URL on port 9071. This comparison identifies whether to investigate the mailbox service, the proxy, or certificate deployment.
Zimbra documents 7071 as the default mailbox Admin Console HTTPS port and 9071 as the optional proxy Admin Console port. These details can vary with topology and configuration, so check your deployment before changing firewall or service settings.
Start with the direct URL on an administrator network or VPN: https://mail.example.com:7071/zimbraAdmin/. If your deployment exposes the Admin Console through Zimbra Proxy, test its proxy hostname on port 9071: https://proxy.example.com:9071/zimbraAdmin/. Do not open port 7071 to the public internet just to troubleshoot; use an existing trusted management path.

Use the hostname covered by the certificate and configured for that endpoint. An IP address, an alternate DNS alias, or a load balancer hostname can reach a different listener than the one you intended. Zimbra’s Administration Console reference describes the typical 7071 URL; its port reference lists both Admin Console ports.
From a host that can reach the services, request each route without bypassing certificate validation:
curl -sS -D - -o /dev/null https://mail.example.com:7071/zimbraAdmin/
curl -sS -D - -o /dev/null https://proxy.example.com:9071/zimbraAdmin/
The command prints HTTP response headers while discarding the page body. If curl reports a certificate or TLS error instead of an HTTP status, inspect the certificate served on that hostname and port. If it returns 404, note the exact URL, response headers, and which endpoint answered. A reverse proxy or external load balancer can return its own 404, so the browser’s message alone may not identify Zimbra as the source.

If 7071 loads the console but 9071 returns 404, focus on proxy routing and the hostname or path configured in front of Zimbra. Zimbra’s proxy guide assigns 9071 to the optional proxy console, and its instructions for enabling that route call for restarting the proxy after configuration. If both routes return 404, verify the path and mailbox service next rather than repeatedly renewing the certificate.
Redeploy only if the endpoint serves the old, expired, mismatched, or incomplete certificate, or the deployment log shows that renewal did not complete. As the Zimbra user, validate the renewed certificate against the private key and CA chain first. Replace the example paths with your actual files:
/opt/zimbra/bin/zmcertmgr verifycrt comm \
/opt/zimbra/ssl/zimbra/commercial/commercial.key \
/path/to/renewed.crt /path/to/ca_chain.crt
Proceed only if verification confirms that the certificate matches the key and the chain is valid. Then deploy the certificate using the same files:
/opt/zimbra/bin/zmcertmgr deploycrt comm \
/path/to/renewed.crt /path/to/ca_chain.crt
Zimbra’s certificate-tool instructions say to check the installed certificate with zmcertmgr viewdeployedcrt and note that mailboxd must be restarted to use an imported certificate. In a multi-server deployment, check each server that terminates HTTPS, including the proxy when it serves port 9071. Follow the restart procedure for your installed Zimbra version in a maintenance window; a full service restart can interrupt mail and administration sessions. Do not deploy a certificate that fails verification. See Zimbra’s certificate installation and CLI reference.

Check service health and match the request timestamp to the server logs before restarting or reinstalling anything. On the proxy host, Zimbra documents /opt/zimbra/log/nginx.access.log and /opt/zimbra/log/nginx.log for proxy troubleshooting. On the mailbox host, inspect the mailbox log for the same request. Confirm whether the request reached the expected host and whether the response came from nginx or the mailbox application.

If the proxy log shows the request going to an unexpected backend, repair the configured proxy route using the procedure for your Zimbra release; do not hand-edit generated nginx files. If the request reaches the expected mailbox server and that server returns 404 for /zimbraAdmin/, check mailboxd status and its startup logs. A missing or unavailable Admin Console web application can require a version-specific package repair; do not copy a WAR file from another server or guess at package names. Use the installed release’s supported repair procedure or contact Zimbra support with the response headers and log excerpt.
Open the correct Admin Console URL from the same management network and confirm that the login page loads without a certificate warning. Repeat the curl check and verify that the expected endpoint no longer returns 404. If proxy access is part of your setup, test both proxy and direct paths from their permitted networks, and confirm that the proxy log routes to the intended mailbox server. A certificate-validity check alone is not enough: success means the URL, HTTPS listener, proxy route, and Admin Console application all respond as expected.

Replace an expired Zimbra self-signed certificate, preserve the CA when appropriate, and verify each service presents the renewed certificate.

Choose the right Zimbra migration path, run a safe imapsync presync and cutover, and verify which mailbox data arrived.

Configure Zimbra’s command-line auto responder, schedule its active window, and verify what senders should receive.

Diagnose Zimbra services marked Stopped with targeted log checks, safe restart commands, and fixes for DNS, disk, ports, and permissions.

Resolve iOS connection failures by checking the Zimbra Mobile Sync setting, server hostname, HTTPS certificate, and Exchange account details in the right order.

Restore mailbox search by checking index storage, running a targeted Zimbra reindex, and verifying results when it completes.

Narrow Zimbra’s trusted relay networks safely, preserve required local addresses, and verify that only approved IPs can relay without SMTP authentication.

Diagnose Zimbra account lockouts, check authentication logs, safely reactivate a mailbox, and stop repeated failed sign-ins without disabling protection.

Enable Zimbra two-factor authentication for administrator accounts, choose an enrollment policy, and verify Web Client setup before relying on the second factor.