Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to encrypt a message using Digital Certificate's key

 
RoshanDawrani
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic