[undertow-dev] UndertowClient and SSL

Stuart Douglas sdouglas at redhat.com
Mon Mar 10 20:49:41 EDT 2014


Oops, this one slipped through the cracks.

I will try and get support for this into the next release, however it 
will require an XNIO API change so it might not make it.

I have created this issue: https://issues.jboss.org/browse/UNDERTOW-201

Stuart

Cristian Constantin wrote:
> Hi,
>
> I am using io.undertow.server.handlers.proxy.SimpleProxyClientProvider
> to implement a Reverse Proxy with Undertow.
>
> If I proxy a remote service that uses HTTPS I get the following error:
>
> ‘java.lang.IllegalArgumentException: UT000065: SSL must be specified to
> connect to a https URL’ at line 61 in HttpClientProvider (I’m using
> undertow-core-1.0.1.Final).
>
> Digging in the sources I found that
> io.undertow.client.http.HttpClientProvider#connect is called from
> io.undertow.client.UndertowClient#connect with parameter XnioSsl ssl
> always null.
>
> So is the SSL support for the HTTP client not implemented yet? Or am I
> missing something here?
>
> Regards,
>
> Cristian Constantin
>
> _______________________________________________
> 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