Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
Introduction
If you are using your own integration with the use of , and using the XTM API, sometimes you might sometimes report an issue with SSL certification, accompanied by the following error message in your logs, as which is part of a bigger error stack. More specifically, the error in question is related to the failing of the connection failing during the SSL handshake.
Code Block | ||
---|---|---|
| ||
Caused by: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invoking https://api.xtm-cloud.com/project-manager-gui/services/v2/projectmanager/xop/XTMWebService: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target |
As a result, you are unable to perform any API calls, which prevents you from creating new projects or importing completed projects back to your integration.
...
Possible causes of the issue
Most probably, the The most probable root cause of the issue lies on the side of is in your own integration, in which you might have either faultily . You might either have built your integration incorrectly or not updated your SSL certificate in compliance with global standards.
On one hand, the The PKIX Path Building Failed error shown in the log might lead you to the following Attlasian this Atlassian article, which might help you find the actual root cause of the issue and resolve the problem: Unable to Connect to SSL Services Due to 'PKIX Path Building Failed' Error in Jira Datacenter and Server.
However, the issue usually lies in your application’s java certificate store, where your SSL certificate is simply has not been updated.
On the XTM Cloud side, the SSL certificate is updated automatically every 3 months, in accordance with a global standard practice, and it is done automatically.
Find the This article below provides for more information about this issue: Why ninety-day lifetimes for certificates?. Keep in mind that this time limit is not something XTM Support can add an exception to, as it is out of our control and more of XTM’s control. Instead, it is a requirement imposed by the certificate authority.