Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTTPS, cacerts, and certificates

843811Jun 12 2003 — edited Jun 13 2003
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2003
Added on Jun 12 2003
1 comment
498 views