• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL connection: clientAuth(true) vs useClientMode(false)

 
Abhi Trivedi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a client-server app that is required to communicate via SSL Mutual Authentication. Client and server both run on seperate Jboss instances on different hosts.
Based on what I gather, there are two ways of doing this authentication.

1. Leverage Jboss SSL authentication and set clientAuth=true in the HTTPS connector (server.xml)
2. Create my own SSLScoket and set useClientMode=false

Im using HTTPClient for creating connection between client and server. Does anyone know which method is better (or more secure) ?
 
Bharat Kasodariya
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try SSLSocketClientWithClientAuth
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic