I'm working on a Server and Client based app which require two way SSL authentication. (Client authenticates server and Server authenticate client both using SSL Certificates.)
I'm quite new to Netty and have few doubts regarding this.
- Is two way authentication possible using Netty?
- Can it be simply achievable by adding another SslHandler to the pipelinefactories of both server and client?
- If the above is true, how can I grab the required SslHandler at the ChannelConnected() method to do the SslHandshake? And Is it possible to invoke the second handshake at the ChannelConected() method by calling the pipeline back again?
- Are there any examples I could refer to regarding this?
I really appreciate any help regarding this, answers or a push in right direction.