How to fix annoying Zimbra certificate error || Deploy selfsigned certificate in Zimbra

Issue:

ERROR: zclient.IO_ERROR (invoke sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, server: localhost) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.ce
rtpath.SunCertPathBuilderException: unable to find valid certification path to requested target).


Solution:

1. Create and deploy selfsigned certificate – Run as zimbra user:
[root@mail zimbra]$ /opt/zimbra/bin/zmcertmgr createca -new
[root@mail zimbra]$ /opt/zimbra/bin/zmcertmgr deployca
[root@mail zimbra]$ /opt/zimbra/bin/zmcertmgr createcrt -new -days 365
[root@mail zimbra]$ /opt/zimbra/bin/zmcertmgr deploycrt self

2. Verify Deployed certificate:
[root@mail zimbra]$ /opt/zimbra/bin/zmcertmgr viewdeployedcrt

3. Restart Zimbra services:
[zimbra@mail ~]$ zmcontrol restart


Ref:

Comments

Popular posts from this blog

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Error "Unable to retrive Zimbra GPG key for package validation"