An invalid certification path error 500 occurs when validating Web Requests in Automation

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Automation action Send Web Request shows response code 500 and throws the error "Unable to find valid certification path to requested target" in Jira Service Management Cloud.

Diagnosis

The following error is thrown when we attempt to send a web request using Automation:

1 sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Cause

When the Automation attempts to send the web request to the target server, it does not send the intermediate CA certificate in the SSL/TLS handshake. This is most likely due to a failed installation of the intermediate CA certificate.

Solution

If you own the target server, reinstall the intermediate certificate, or ensure that it is installed in the same place as the domain certificate. Contact your Certification Authority for guidance.

Updated on February 28, 2025

Still need help?

The Atlassian Community is here for you.