Are you trying to get the peer cert after the filter emits the connected
after the handshake completes? If you do it too early it won’t populate.

On Fri, Mar 25, 2022 at 2:33 PM Emmanuel Lécharny <elecha...@gmail.com>
wrote:

> Hi!
>
> following the effort put in rewriting the Sslfilter (and all the inner
> code) by Jonathan lately, I would like to know if we could mive forward
> with an alpha version of this work.
>
> I have tested it with Apache LDAP API and Apache Directory Server, with
> success. I still have some work to do on FtpServer to have it working
> with 2.2.X, we get some NPE when trying to fetch the peer certificate
> from the SSLSession (for some unkown reason, when I call
> sslSession.getPeerCertiticate() it returns null).
>
> Wdyt ?
> --
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> <https://www.google.com/maps/search/205+Promenade+des+Anglais+%E2%80%93+06200+NICE?entry=gmail&source=g>
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> emmanuel.lecha...@busit.com https://www.busit.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
> For additional commands, e-mail: dev-h...@mina.apache.org
>
>

Reply via email to