[undertow-dev] Tls renegotiation from inside of servlet?

Stuart Douglas sdouglas at redhat.com
Thu May 8 22:58:36 EDT 2014


If you use Client cert auth then this should happen automatically.

Otherwise you can do:

io.undertow.servlet.handlers.ServletRequestContext.current().getExchange().getConnection().getSslSessionInfo().renegotiate(ServletRequestContext.current().getExchange(), 
SslClientAuthMode.REQUIRED);

Stuart

Marc Boorshtein wrote:
> Does undertow have a way that I could trigger a tls renegotiation from
> inside of a servlet/filter?  (Ie to request a client certificate)
>
> Thanks
> Marc
>
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list