[undertow-dev] Proxying SSL

Hicks, Matt matt at matthicks.com
Wed Dec 14 18:37:48 EST 2016


Thanks for the info Stuart. I'll switch.  LoadBalancingProxyClient should
just be a drop-in replacement for SimpleProxyClientProvider, right?

On Wed, Dec 14, 2016 at 5:34 PM Stuart Douglas <sdouglas at redhat.com> wrote:

> In general you are much better off using LoadBalancingProxyClient
> (even if there is only one server). SimpleProxyClient uses a 1-1
> connection mapping, while LoadBalancingProxyClient uses connection
> pools and in general is much more sophisticated.
>
> I am not sure what to do about SimpleProxyClient, I think it should
> probably just be deprecated and removed in a future release.
>
> Stuart
>
> On Thu, Dec 15, 2016 at 10:26 AM, Hicks, Matt <matt at matthicks.com> wrote:
> > In
> >
> https://github.com/undertow-io/undertow/blob/master/examples/src/main/java/io/undertow/examples/http2/Http2Server.java
> > a LoadBalancingProxyClient and a reverse proxy server are being used to
> > proxy HTTPS, but is all of that necessary?
> >
> > I'm attempting to proxy from my current code:
> >
> > SimpleProxyClientProvider proxyClient = new
> SimpleProxyClientProvider(uri);
> > ProxyHandler proxyHandler = Handlers.proxyHandler(proxyClient);
> >
> > To add support to proxy SSL. The proxying is local and both the
> originating
> > server and the server being proxied to are using the exact same SSL
> > certificate.  Is there something I can add to this to make it work
> right, or
> > do I have to create a LoadBalancingProxyClient?
> >
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20161214/cfa1b0a2/attachment.html 


More information about the undertow-dev mailing list