logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Pass SSL through balancer, let workers decrypt
Author
DaveEcometry



Joined: 23 Oct 2014
Posts: 5

PostPosted: Thu 23 Apr '15 20:44    Post subject: Pass SSL through balancer, let workers decrypt Reply with quote

I'm using mod_proxy_balancer in Apache 2.2.29 with OpenSSL on Windows to distribute HTTPS requests to two other back end servers, both of which are also Apache 2.2.29 with OpenSSL on Windows.

DumpIO shows that the requests are being decrypted on the balancer, and then sent unencrypted to the two workers. I would like to have the requests pass through the balancer without decrypting there, and let the two back end worker servers do the decryption. Is that possible? If so, how?

When I tried simply disabling SSL on the balancer, the requests fail, with nothing logged at all.

Thanks,
Dave
Back to top
DaveEcometry



Joined: 23 Oct 2014
Posts: 5

PostPosted: Thu 23 Apr '15 22:40    Post subject: Re: Pass SSL through balancer, let workers decrypt Reply with quote

Got it working!

Duh! I had this:
<Proxy balancer://mycluster>
BalancerMember http://TESTSERVER01
BalancerMember http://TESTSERVER02
</Proxy>

But it works fine, now that I changed http to https for each BalancerMember and added SSLProxyEngine like this:
<Proxy balancer://mycluster>
BalancerMember https://TESTSERVER01:8081
BalancerMember https://TESTSERVER02:8081
</Proxy>
SSLProxyEngine On

Posting the result for anyone who encounters the same problem.

Dave
Back to top
pat9



Joined: 04 May 2015
Posts: 2
Location: US, Houston

PostPosted: Mon 04 May '15 17:04    Post subject: Reply with quote

Dave, Thanks - I was wondering if that was even possible. Thanks for sharing.

Regards.
Back to top


Reply to topic   Topic: Pass SSL through balancer, let workers decrypt View previous topic :: View next topic
Post new topic   Forum Index -> Apache