So this is the content of the log:
** Creating CA private key
Generating a 1024 bit RSA private key
......................................++++++
..++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert
Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=sawdust.local
Getting Private key
unable to write 'random state'
** Importing CA
Certificate was added to keystore
keytool error: java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/V
ersions/1.5/Home/lib/security/cacerts (Permission denied)
** Creating keystore
** Creating server cert request
Generating a 1024 bit RSA private key
...........++++++
.....................................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request
Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 2 (0x2)
Validity
Not Before: Feb 9 03:52:28 2006 GMT
Not After : Feb 9 03:52:28 2007 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = sawdust.local
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
28:91:25:1A

2:CC:A1:83:07:05:81:02:F2:A9:81:00:2F :1B:81:94
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=sawdust.local
serial:B7:07:E0:A8:94:4B:64:8A
Certificate is to be certified until Feb 9 03:52:28 2007 GMT (365 days)
Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=sawdust.local
Getting CA Private Key
unable to write 'random state'
ERROR - failed to start slapd
So then after reviewing several posts, I tried to recreate the cert using:
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 -keypass zimbra (1 line)
keytool error: java.lang.Exception: Alias
does not exist
keytool -delete -alias tomcat -keystore /opt/zimbra/tomcat/conf/keystore -keypass zimbra (1 line)
That seemed to have worked ok.
zmcreateca
** Creating CA private key
Generating a 1024 bit RSA private key
.................................................. .................................................. ...........++++++
.................................................. ...........................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert
Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=sawdust.local
Getting Private key
unable to write 'random state'
zmcreatecert
** Importing CA
Certificate was added to keystore
keytool error: java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/lib/security/cacerts (Permission denied)
** Creating keystore
** Creating server cert request
Generating a 1024 bit RSA private key
.................................................. .................................................. .................................................. ......++++++
.....................................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request
Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 2 (0x2)
Validity
Not Before: Feb 9 04:24:19 2006 GMT
Not After : Feb 9 04:24:19 2007 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = sawdust.local
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
C4:2A:91:E5:F6:5D:08
E:03:94:59:0A:6C:A0:B0:7A:39 :39:44
7
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=sawdust.local
serial:C5:91:A8:11:49:BC:4A:6B
Certificate is to be certified until Feb 9 04:24:19 2007 GMT (365 days)
Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=sawdust.local
Getting CA Private Key
unable to write 'random state'
zmcertinstall mailbox
** Importing server cert
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
What should I do next?