private SSLSession getSSLSession(ChannelHandlerContext ctx) {
        SslHandler sslhandler = ctx.channel().pipeline().get(SslHandler.class);
        if (sslhandler != null) {
            return sslhandler.engine().getSession();
        }
        TlsPskHandler tlsPskHandler = ctx.channel().pipeline().get(TlsPskHandler.class);
        if (tlsPskHandler != null) {
            return tlsPskHandler.getSession();
        }
        return null;
    }
Stores info about the client and server's SSL certificates in the context, after a successful handshake.
<p>
User: michaels@netflix.com Date: 3/29/16 Time: 10:48 AM
zuul-core/src/main/java/com/netflix/zuul/netty/server/ssl/SslHandshakeInfoHandler.java