[undertow-dev] SSL Client Certificate Request
Stuart Douglas
sdouglas at redhat.com
Fri Jul 17 03:01:37 EDT 2015
You need to specify the mode you are after using org.xnio.Options#SSL_CLIENT_AUTH_MODE, options are NONE, REQUESTED and REQUIRED.
e.g.
Undertow.builder()
.setSocketOption(Options.SSL_CLIENT_AUTH_MODE, SslClientAuthMode.REQUESTED)
----- Original Message -----
> From: "Devl Devel" <devl.development at gmail.com>
> To: undertow-dev at lists.jboss.org
> Sent: Thursday, 16 July, 2015 1:24:49 PM
> Subject: [undertow-dev] SSL Client Certificate Request
>
> Hi group
>
> I'm trying to get a client to present its certificate when it hits the first
> request to my server
>
> e.g. http://localhost/run
>
> I want undertow to "ask" for client certificate.
>
> I have an undertow server with an https listener and valid sslcontext with
> trust and keystore. What steps are required to get a client to present the
> certificate. Does any one have a basic hello world example?
>
> I've tried to get hints from DefaultServer but maybe this is too much detail
> for what I need and I can't find a good example in the docs.
>
> Thanks in advance,
> Devl
>
>
>
> _______________________________________________
> 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