Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:10:08+00:00 2026-06-06T22:10:08+00:00

i have three java based web application app1,app2 and app3 at production. All 3

  • 0

i have three java based web application app1,app2 and app3 at production. All 3 are verified by verified CA’s and hosted on 3 different web servers
and on https.
app1,app2 is verified by secure trust.app3 is verified by trustwave .

Below is the hierarchy of certificates of certificates ,i can see when i hit any of these app thru web browser.

app1,app2 certificate hirerarchy is same .e

 Entrust.net Secure Server Certification Authority---> SecureTrust CA------->*.myAppDomain.com

app3 certificate hirerarchy is

           Entrust.net Secure Server Certification Authority---> SecureTrust CA------->TrustWave Organization Validation CA, L------->*.myApp3.com

Now when app1 connect to app2 , works fine. But when app1 connects to app3 gets below exception

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

Now i had a look on cacert file(i.e trust store) inside jdk on web server hosting app1 . I tried to found the entries for Entrust,SecureTrust,TrustWave but found only entries like entrustevca, entrust2048ca etc. So if i go by the logic that if root certificate (which is Entrust for both the applications app2 and app3 ) lies in trust store of contacting application(app3) ,which i can see in cacert file on app3 ,then i should not get the above mentioned error when app1 tries to contact app3 thru httpsURLConnection. I am not gettting the cause of this? i am not sure do we need to include the trustwave also , though the root certificate i.e Entrust which internally authenticate trustwave already there?

If i need to include trustwave certificate(used by app2) in cacert file on app3 then by that logic i should also inlcude
securetrust(used by app2) in cacert file on app3 but it is working Fine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:10:09+00:00Added an answer on June 6, 2026 at 10:10 pm

    The client’s truststore doesn’t trust the server’s certificate. So there was no trusted CA certificate in the client’s truststore that matched anything in the certificate chain supplied by the server. So that certificate chain was incomplete. You need to import everything you were supplied with by the CA into the server’s keystore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java Web-Start-based application, which utilizes several native ".exe" utilities. All jars
I have a java web application that generates and displays graphical pictures based upon
I have a Spring framework based Java web application, which has been built in
We have a java based enterprise web application. User enter / edit data using
I have a java web application based on Spring MVC. The task is to
I have java based application hosted on my local tomcat server.As per my understanding
I have a java based web application(struts 1.2). I have a requirement to display
Let's share Java based web application architectures! There are lots of different architectures for
I have a web-based application and a client, both written in Java. For what
I have a web based application that uses a self signed certificate. When you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.