Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic PKIX path building f  RSS feed

Shah Vaishali
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are required to communicate to the server over SSL, in which we need to get the server certificate and then make a call. Its a private server so getting the certificate over linux is not allowed.
The moment i make a SSL call i can the error as follows: Exception in thread "main" PKIX path building failed: unable to find valid certification path to requested target
I understand the above exception is because of the CA certificate and the keystore issues.

I am relatively new to socket programming. Can some one explain a step wise approach of how to go about creating a secure connection from client to remote private server only via java class.. I would not be allowed to copy the server certificate and add to keystone using the keyhole utility.
as in how to use Trust Manager..etc..Just a step wise flow would do.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!