Ok. So I uninstalled zimbra and have now re-installed. Here is what I did:
(names changed to protect the innocent)
1. Install Ubuntu 8.04LTS. Updated/Upgraded.
Hostname = wmail.mydomain.com
Added necessary prerequisites
2. Configured DNS
Added A record for wmail to mydomain.com (and reverse)
Added MX record for wmail.mydomain.com
3. Verified DNS
Code:
root@wmail:~#host wmail.mydomain.com
wmail.mydomain.com has address 172.16.50.1
Code:
root@wmail:~#dig mydomain.com mx
; <<>> DiG 9.4.2-P2.1 <<>> mydomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38558
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 3600 IN MX 300 wmail.mydomain.com.
;; ADDITIONAL SECTION:
wmail.mydomain.com. 3600 IN A 172.16.50.1
;; Query time: 5 msec
;; SERVER: 172.16.10.3#53(172.16.10.3)
;; WHEN: Fri Jun 4 13:40:48 2010
;; MSG SIZE rcvd: 109
4. Install Zimbra - Release 6.0.6_GA_2330.UBUNTU8 UBUNTU8 FOSS edition.
Took all defaults
When it asked about the domain name I entered: mydomain.com and it found everything correctly.
5. Started Zimbra
Logged into web admin, everything fat/dumb/happy
Code:
zimbra@wmail:/root$ zmhostname
wmail.mydomain.com
6. Generated CSR
In web admin interface I generated the CSR for a commercial certificate
7. Generated Certificate on Godaddy & installed using zmcertmgr
Code:
root@wmail:~# /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key ./wmail.mydomain.com.crt ./gd_bundle.crt
** Verifying ./wmail.mydomain.com.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key
Certificate (./wmail.mydomain.com.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
Valid Certificate: ./wmail.mydomain.com.crt: OK
root@wmail:~# /opt/zimbra/bin/zmcertmgr deploycrt comm ./wmail.mydomain.com.crt ./gd_bundle.crt
** Verifying ./wmail.mydomain.com.crt against /opt/zimbra/ssl/zimbra/commercial/commercial.key
Certificate (./wmail.mydomain.com.crt) and private key (/opt/zimbra/ssl/zimbra/commercial/commercial.key) match.
Valid Certificate: ./wmail.mydomain.com.crt: OK
** Copying ./wmail.mydomain.com.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
** Appending ca chain ./gd_bundle.crt to /opt/zimbra/ssl/zimbra/commercial/commercial.crt
** Saving server config key zimbraSSLCertificate...done.
** Saving server config key zimbraSSLPrivateKey...done.
** Installing mta certificate and key...done.
** Installing slapd certificate and key...done.
** Installing proxy certificate and key...done.
** Creating pkcs12 file /opt/zimbra/ssl/zimbra/jetty.pkcs12...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...done.
** Installing CA to /opt/zimbra/conf/ca...done.
root@wmail:~# su zimbra
zimbra@wmail:/root$ zmcontrol stop
Host wmail.mydomain.com
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping ldap...Done.
zimbra@wmail:/root$ zmcontrol start
Host wmail.mydomain.com
Starting ldap...Done.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Starting logger...Failed.
Starting logswatch...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
zimbra logger service is not enabled! failed.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done. Code:
root@wmail:~# /opt/zimbra/bin/zmcertmgr viewdeployedcrt
::service mta::
notBefore=Jun 4 17:25:29 2010 GMT
notAfter=Jun 3 20:57:40 2012 GMT
subject= /O=wmail.mydomain.com/OU=Domain Control Validated/CN=wmail.mydomain.com
issuer= /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
SubjectAltName= wmail.mydomain.com, www.wmail.mydomain.com
::service proxy::
notBefore=Jun 4 17:25:29 2010 GMT
notAfter=Jun 3 20:57:40 2012 GMT
subject= /O=wmail.mydomain.com/OU=Domain Control Validated/CN=wmail.mydomain.com
issuer= /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
SubjectAltName= wmail.mydomain.com, www.wmail.mydomain.com
::service mailboxd::
notBefore=Jun 4 17:25:29 2010 GMT
notAfter=Jun 3 20:57:40 2012 GMT
subject= /O=wmail.mydomain.com/OU=Domain Control Validated/CN=wmail.mydomain.com
issuer= /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
SubjectAltName= wmail.mydomain.com, www.wmail.mydomain.com
::service ldap::
notBefore=Jun 4 17:25:29 2010 GMT
notAfter=Jun 3 20:57:40 2012 GMT
subject= /O=wmail.mydomain.com/OU=Domain Control Validated/CN=wmail.mydomain.com
issuer= /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
SubjectAltName= wmail.mydomain.com, www.wmail.mydomain.com
Obviously I am doing something wrong as this seems to be a fairly straightforward process but I can't figure out what.
Can anyone help with this?
/x