Skip to main content
Skip table of contents

PKIX certificate error when connecting to Jira from Salesforce

Problem

While trying to authenticate to Jira from Salesforce, the following message is displayed:

CODE
sun.security.validator.ValidatorException: PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target

error.jpg

Cause

  • This error could happen when the SSL certificate for the Jira Server or Data Center domain that is exposed to Salesforce is not valid, maybe due to wrong java truststore, certificate is not in the java truststore, certificate path is not complete in the truststore.

Resolution

Check SSL Certificate

  • Check SSL configuration in your Jira, including SSL certificate, truststore and certification path. Make sure that the Jira URL that Salesforce is trying to connect is accessible via HTTPS to Salesforce.

You can also find more information about performing some diagnostics that you can run to validate SSL for the Jira domain that Salesforce is accessing here:

https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.