Difference between revisions of "Recreating a Self-Signed SSL Certificate in ZCS 4.5 & 5.0"

Line 1: Line 1:
 
To clean up SSL certificate's and recreate a new self-signed cert try this:
 
To clean up SSL certificate's and recreate a new self-signed cert try this:
  
as root:
+
as root:<br>
rm -rf /opt/zimbra/ssl
+
rm -rf /opt/zimbra/ssl<br>
mkdir /opt/zimbra/ssl
+
mkdir /opt/zimbra/ssl<br>
chown zimbra:zimbra /opt/zimbra/ssl
+
chown zimbra:zimbra /opt/zimbra/ssl<br>
  
 
su - zimbra<br>
 
su - zimbra<br>
Line 10: Line 10:
 
keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra<br>
 
keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra<br>
  
zmcreateca
+
zmcreateca<br>
zmcreatecert
+
zmcreatecert<br>
zmcertinstall mailbox ssl/ssl/server/server.crt ssl/ssl/server/server.key
+
zmcertinstall mailbox ssl/ssl/server/server.crt ssl/ssl/server/server.key<br>
zmcertinstall mta ssl/ssl/server/server.crt ssl/ssl/server/server.key
+
zmcertinstall mta ssl/ssl/server/server.crt ssl/ssl/server/server.key<br>

Revision as of 15:07, 23 February 2006

To clean up SSL certificate's and recreate a new self-signed cert try this:

as root:
rm -rf /opt/zimbra/ssl
mkdir /opt/zimbra/ssl
chown zimbra:zimbra /opt/zimbra/ssl

su - zimbra
keytool -delete -alias my_ca -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra
keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -storepass zimbra

zmcreateca
zmcreatecert
zmcertinstall mailbox ssl/ssl/server/server.crt ssl/ssl/server/server.key
zmcertinstall mta ssl/ssl/server/server.crt ssl/ssl/server/server.key

Jump to: navigation, search