This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSSE, HTTPS, cacerts, and certificates  RSS feed

 
J Colan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!