Zoho Reports sync failure_PKIX path building failed

Zoho Reports sync failure_PKIX path building failed

While syncing Zoho Reports, this error may appear where the self-signed certificate to sync both Zoho Reports and SDP MSP will be missing. These traces (mentioned below) can be viewed in the file zrmeinteglog0.txt under the location  \ManageEngine\ServiceDeskPlus-MSP\Logs.

Error Trace in logs:
12:53:49:586]|[06-01-2020]|[com.manageengine.zrmeinteg.framework.ZRSDPFrameWorkImpl]|[SEVERE]|[253181]: FAILURE :Could not update the configuration settings as an exception while saving the Advanced Analytics Configuration Details.<br><br> Please report the problem to the system administrator. Support file will have the error trace to analyze the problem and which can be created at Support -> Create Support File.|
[12:53:49:907]|[06-01-2020]|[com.manageengine.zrmeinteg.framework.ZRSDPFrameWorkImpl]|[INFO]|[253181]: Exception in connecting reports.zoho.comsun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target|

1. Stop the application service.

2. Download the file from the link given below and extract the contents of "certgeneration_windows" folder to the Service Desk Plus MSP Home directory using 7zip so that lib folder is merged:

Windows:

Linux:

3. Execute the below command:
Windows:
<Drive>:\ManageEngine\Servicedesk Plus MSP> gencert.bat  analyticsapi.domain.com:443
ex : gencert.bat analyticsapi.zoho.com:443

Linux:
\ManageEngine\ServicedeskPlus-MSP gencert.sh analyticsapi.zoho.com:443

4. You will receive an exception PKIX. On supplying the value 1, a file called jssecacerts is generated in the ServiceDesk Plus MSP Home Directory.

5. Copy and place the jssecacerts file under \ManageEngine\ServicedeskPlus-MSP\jre\lib\security folder and Restart ServiceDeskPlus-MSP application.

6. Start the application and Try the re-sync.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail fetching failed - PKIX path building failed.

                      Cause: If the SSL Certificate in mail server is a self signed certificate then it is not imported in the ServiceDeskPlus-MSP java environment while using the POPS/IMAPS protocol. Error Trace in logs: javax.net.ssl.SSLHandshakeException: ...
                    • Analytics - SupportCenter Plus integration PKIX path building failed (for SCP 11.0)

                      While syncing Analytics Reports, this error may appear where the self-signed certificate to sync both Analytics Reports and SCP will be missing. These traces (mentioned below) can be viewed in the file zrmeinteglog0.txt under the location ...
                    • Common SSL Issues

                      1. SSLException : PKIX Path Exception Trace : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification ...
                    • ZOHO Reports - Authentication issue Handling - GRID movement

                      Recently we are facing issues if user saves the Zoho reports configuration page after entering email ID and AT key it throws authentication failure even though the email and AT key is correct. It happens as the registered login is in different grid ...
                    • Advanced Analytics - FAQ & Troubleshooting tips

                      Troubleshooting tips This document is listing of customer facing issues,  Advanced analytics is common name for both Zoho reports and Analytics plus.  First setup we have to get with customer that recreate issue and generate support log ...