• 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

JSSE, HTTPS, cacerts, and certificates

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on a web application that needs to open and read a file on an HTTPS server. I am using JSSE, and have followed steps given in other posts here. I have gotten to the point where I am getting an SSLHandshakeException, "unknown CA".
From researching this and reading other posts, I think that I need to get a certificate from the server I am trying to read from and put it in my cacerts file. The problem is that I don't know much about SSL and I have no idea how to do this. I have tried Google for some basic steps but no luck. Can anyone point me in the right direction?
In addition, I don't have access to the production server that this application is deployed on. If the cacerts is not part of the .ear file that we give to the SA who does the deployment, then I will have to provide instructions to him on how to set it up on that server.
Thanks!
ps: we are using WebSphere.
 
reply
    Bookmark Topic Watch Topic
  • New Topic