Create Zimbra Certificate CLI

ZCS 7.0.x, 6.0.x, and 5.0.x

zmcertmgr

This command allows you to manage certificates.

General Guidelines

Follow these guidelines when using this command.

  • This tool must be run as root

Single-Node Self-Signed Certificate

1.  Begin by generating a new Certificate Authority (CA).
/opt/zimbra/bin/zmcertmgr createca -new

2. Then generate a certificate signed by the CA that expires in 365 days.
/opt/zimbra/bin/zmcertmgr createcrt -new -days 365

3. Next deploy the certificate.
/opt/zimbra/bin/zmcertmgr deploycrt self

4. Next deploy the CA.
/opt/zimbra/bin/zmcertmgr deployca

5. To finish, verify the certificate was deployed to all the services.
/opt/zimbra/bin/zmcertmgr viewdeployedcrt

 

Reference http://wiki.zimbra.com/wiki/Administration_Console_and_CLI_Certificate_Tools

This entry was posted by Wiendy on Friday, March 30th, 2012 at 1:46 PM and is filed under Linux . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Categories