Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue
Page Properties
hiddentrue

Introduction

If you are using your own integration with , and using the use of XTM API, sometimes you might sometimes report an issue with SSL certification, accompanied by the following error message in your logs, which is part of a bigger error stack. More specifically, the said error is related to the failing of the connection failing during the SSL handshake.

Code Block
languagebash
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. You might either have either faultily 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.

...

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 XTM XTM’s control, and more of . Instead, it is a requirement imposed by the certificate authority.