Want more features on Pastebin? Sign Up, it's FREE!
Guest

Error changing certificates in Zimbra

By: a guest on Oct 14th, 2011  |  syntax: None  |  size: 1.27 KB  |  views: 340  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data