posted 20 years ago
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.