File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Need to encrypt a message using Digital Certificate's key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Need to encrypt a message using Digital Certificate Watch "Need to encrypt a message using Digital Certificate New topic
Author

Need to encrypt a message using Digital Certificate's key

RoshanDawrani
Greenhorn

Joined: Jan 21, 2001
Posts: 16
Dear All,
In our project we access a URL on a secured server, which asks for a digital certificate. For this every client is having a digital certificate. Now there is a new requirement that all the clients should not require the certificates. There should be only one, common digital certificate, whose details should be passed programatically, from an intermediate servlet, to access the URL.
So now we need to know how the use this common certificate's public key to encrypt/decrypt the communication between the servlet and the secured server.
If anybody has any idea about how to do this or if somebody can throw some light on whether this thing is possible to do using java.security package, please pass on the information.
I'll be very grateful.
Best regards,
Roshan Dawrani
sunil virup
Greenhorn

Joined: Aug 07, 2001
Posts: 5
Hi,
In your question u have mentioned that there is a digital certificate for each client.Can u tell me how were u able to authenticate the client from server (ie) how did u send the certificate to server for verification when the server demands for it(SSL3.0 where the server demands client authentication).we r also working on a similar project and will be greatfull if u can help us out.
Thank You

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to encrypt a message using Digital Certificate's key