Hi there,

I'm currently deploying Zimbra in a demonstration environment. We don't have commercially signed certificates but I am trying to use the CA of my domain, this works for other web services without issues as long as the client has the root certificate installed.

I first generate a certificate request from the web interface for the external fqdn. This request is passed on to the Active Directory CA. The CA issues the certificate and I export the file as a *.cer file.
From the Zimbra web interface I then import the *.cer file and also the root certificate for the CA as a *.cer file. I removed the intermidiate CA field.

Then the following error appears when doing this from the getting started screen:

Code:
JavaScript error encountered in method ZaCertWizard.prototype.finishWizard

--------------------------------------------------------------------------------
description: Unable to get property 'setStyle' of undefined or null reference number: -2146823281 stack: TypeError: Unable to get property 'setStyle' of undefined or null reference at installCert (https://mail.external.com:7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=121105171543&language=en&country=US:2714:1) at finishWizard (https://mail.external.com:7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=121105171543&language=en&country=US:3073:1) at run (https://mail.external.com:7071/zimbraAdmin/:620:1) at _runCallbackForButtonId (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:14750:1) at _buttonListener (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:14741:1) at run (https://mail.external.com:7071/zimbraAdmin/:620:1) at handleEvent (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:4663:1) at notifyListeners (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:4483:1) at notifyListeners (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:12304:1) at _handleClick (https://mail.external.com:7071/zimbraAdmin/js/Ajax_all.js.zgz?v=121105171543:17183:1)

When trying to install the certificate using the certificates node in the admin console the error is slightly different:
Code:
Message: Your certificate was not installed due to the error : system failure: exception executing command: zmcertmgr verifycrtkey comm /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current_comm.key /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current.crt with {RemoteManager: zimbra.internal.com->zimbra@zimbra.internal.com:22} Error code: ZaCertWizard.prototype.installCallback Method: AjxException.UNKNOWN_ERROR Details:system failure: exception executing command: zmcertmgr verifycrtkey comm /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current_comm.key /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current.crt with {RemoteManager: zimbra.internal.com->zimbra@zimbra.internal.com:22} 


Your certificate was not installed due to the error : system failure: exception executing command: zmcertmgr verifycrtkey comm /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current_comm.key /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp/current.crt with {RemoteManager: zimbra.internal.com->zimbra@zimbra.internal.com:22}
I hope somebody can help me out as the error messages are kind of cryptic.