Regenerate Self-Signed SSL Certificate - Single-Server

Regenerate Self-Signed SSL Certificate - Single-Server

   KB 21727        Last updated on 2022-10-18  




0.00
(0 votes)

Purpose

Regenerate the SSL certificate in a Zimbra single server environment. Run the commands below as the user zimbra.

Resolution

1. Begin by generating a new Certificate Authority (CA).

This step is optional and not required everytime you renew the self signed certificate.

/opt/zimbra/bin/zmcertmgr createca -new
/opt/zimbra/bin/zmcertmgr deployca

2. Then generate a certificate signed by the CA that expires in 365 days with either wildcard or subject altnames.

/opt/zimbra/bin/zmcertmgr createcrt -new -days 365

3. Next, deploy the certificate.

/opt/zimbra/bin/zmcertmgr deploycrt self 

4. To finish, verify the certificate was deployed.

/opt/zimbra/bin/zmcertmgr viewdeployedcrt
5. Restart zmcontrol to take the changes in effect.
zmcontrol restart

Additional Content


Verified Against: Zimbra Collaboration 10, 9.0, 8.8, 8.6, 8.5, 8.0 Date Created: 02/24/2015
Article ID: https://wiki.zimbra.com/index.php?title=Regenerate_Self-Signed_SSL_Certificate_-_Single-Server Date Modified: 2022-10-18



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search