Hello everbody,
i found out my problem:
zimbrahostname=zimbra-srv.srv.local
the certificate is named to *.srv.com
this certificate get prepared for several services (Postfix, Jetty, slapd ??)
zmprov tries to connect to the server with ssl.
As the SSL CommonName does not match the zimbrahostname, the connect would fail.
possible workaround:
1. Create a CA (if not having one)
2. create a new certificate for zimbrahostname (zimbra-srv.srv.local in my case)
3. export cacert, key and certifikate (key without password)
4. copy certificate to /opt/zimbra/conf/slapd.crt
5. copy key to /opt/zimbra/conf/slapd.key
6. ldap stop && ldap start
7. import the certificate of your ca with
Quote:
|
/opt/zimbra/java/bin/keytool -import -alias stegbauer-datawork -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit -file /tmp/sd-cacert.pem
|
zmprov works now as expected.
Currently i dont know what happens on a upgrade, this procedure needs to be redone.
And what is the correct way to have a public certificate, if the zimbra-hostname does not end to a public domain-name.
best regards
thomas