Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unknown certificate error.

 
shyam ramineni
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to invoke a webservice which published on https://URL.
I have code a stand alone java program as a client.

I am getting javax.net.ssl.SSLHandshakeException : unknown certificate error.

Please let me know the solution for this.
I am having the Trust, and Key .jks files for the client from the server.
But not able add the certificate to cacerts file.

Thanks
shyam Ramineni
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't post much detail of your code, but have you set any of the following system properties:


[ April 06, 2006: Message edited by: James Swan ]
 
shyam ramineni
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Got the issue resolved.

I had to import the certificate file from the https:// location to my keystore.

Thanks
Shyam Ramineni
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic