• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

unknown certificate error.

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic