Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,639,775
Community Members
 
Community Events
196
Community Groups

Unable to Connect to SSL Services due to PKIX Path Building Failed sun.security.provider.certpath.Su

I am new to JIRA. Can some one please assist me to resolve this.

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 16, 2019

Hi,

I see that you are getting this PKIX path building failed error.   Sorry to hear this, but this error is telling us that Jira is unable to see the certificate of the host that Jira is attempting to connect to.  There is a helpful KB on this problem over in Unable to connect to SSL services due to "PKIX Path Building Failed" error.

This error could be generated though in a couple of different ways, such as when Jira is trying to connect to an LDAP server, SMTP server, another application via application links, etc.  It can even happen when Jira might try to connect to itself over HTTPS.  Jira does expect to be able to reach its base URL address over the network from time to time.  If the Java truststore doesn't have the SSL Certificate of the destination site, you can see this error.

I would recommend stating with the diagnosis steps on this page.

  1. Download SSLPoke.class
  2. Execute the class as per the below, changing the URL and port appropriately. Take care that you are running the same Java as what Confluence is running with. If you used the installer you will need to use <confluence-home>/jre/java

    $JAVA_HOME/bin/java SSLPoke jira.example.com 443

If you run this from the machine Jira is running on, and you see the same pkix error, and you have $JAVA_HOME defined, then we have just recreated this same problem with the sslpoke.class using the same Java that Jira is likely using.  This is just a confirmation that we need to add the certificate to the Java truststore.  Steps to do that are in the kb How to import a public SSL certificate into a JVM.  

This guide explains a couple of different methods you can follow in order to add that certificate to the JVM truststore.

Please let me know if you have any questions about these steps.

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events