Advertisement
Guest User

Error changing certificates in Zimbra

a guest
Oct 14th, 2011
728
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. http://wiki.zimbra.com/wiki/Recreating_a_Self-Signed_SSL_Certificate_in_ZCS_4.5_%26_5.0
  2.  
  3. All commands as root except where specified.
  4.  
  5. /opt/zimbra/bin/keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
  6. /opt/zimbra/jdk1.5.0_15/bin/keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
  7. /opt/zimbra/jdk1.5.0_15/bin/keytool -delete -alias jetty -keystore /opt/zimbra/mailboxd/etc/keystore -storepass changeit
  8. zmlocalconfig -s -m nokey mailboxd_keystore_password # as zimbra user
  9. /opt/zimbra/jdk1.5.0_15/bin/keytool -delete -alias jetty -keystore /opt/zimbra/mailboxd/etc/keystore -storepass password_from_last_command
  10. /opt/zimbra/bin/zmcertmgr createca -new
  11. /opt/zimbra/bin/zmcertmgr deployca -localonly
  12. /opt/zimbra/bin/zmcertmgr createcrt self -new
  13. /opt/zimbra/bin/zmcertmgr verifycrt self
  14. /opt/zimbra/bin/zmcertmgr deploycrt self
  15. zmprov -l gcf zimbraCertAuthorityKeySelfSigned # as zimbra
  16. ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException -n:389)
  17. zmprov -l gcf zimbraCertAuthorityCertSelfSigned # as zimbra
  18. ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException -n:389)
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement