Resolve expiration of Zimbra mail server

Source: Internet
Author: User

Under normal circumstances, the certificate expires, the mailbox client will be repeated input password, use the web version of the login, unable to login successfully, enter the command management interface, use the following operation, there will be a mistake.

[Zimbra@zcs ~]$ Zmcontrol Status
Unable to determine enabled services Fromldap.
Unable to determine enabled services. Cache is out of date ordoesn ' t exist.
There are 4 possible reasons for this error:
Issues with ZCS certificates
Permissions issues for Zimbra files
Problems with LDAP data
DNS Issues
This article is mainly about the issue of certificate expiration, the general situation, Zimbra Mailbox server for a year or so, there is such a problem, then the first thing to consider is the issue of certificate expiration.

When the new installation Zimbra, the certificate issued by oneself is valid for 365 days, that is 1 years. In order to avoid the next trouble, we can reissue a certificate, and the validity period can be set itself, the following example is valid for 10 years. The order is as follows:
/opt/zimbra/bin/zmcertmgr createca-new

/opt/zimbra/bin/zmcertmgr Deployca

/opt/zimbra/bin/zmcertmgr Createcrt-new-days 3650 The number that follows is the lifetime of the certificate, in days

/opt/zimbra/bin/zmcertmgr DEPLOYCRT Self

/opt/zimbra/bin/zmcertmgr VIEWDEPLOYEDCRT

After knocking over the command, restart the Zimbra mailbox server, use the Zmcontrolrestart command to see whether the service is all open, and then send and receive mail on the client, if the above code input correctly, the mailbox can be used normally.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.