Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set up a reverse proxy which can be accessed by http only, client requests are translated to http or https communication towards the origin server. Configuration is as follows:

SetOutputFilter proxy-html  
ServerName public  
ProxyRequests off  
ProxyPass /http/ http://origin/  
ProxyPassReverse /http/ http://origin/  
ProxyPass /tls/ https://origin/  
ProxyPassReverse /tls/ https://origin/  
ProxyPassReverseCookieDomain origin public  
SSLProxyEngine On  

<Location /http/>  
ProxyHTMLInterp On  
ProxyPassReverse /  
ProxyHTMLURLMap https://origin /tls/  
ProxyHTMLURLMap / /http/  
RequestHeader unset Accept-Encoding  
Order deny,allow  
allow from all  
</Location>  

<Location /tls/>  
ProxyHTMLInterp On  
ProxyPassReverse /   
ProxyHTMLURLMap https://origin /tls/  
ProxyHTMLURLMap / /http/  
RequestHeader unset Accept-Encoding  
Order deny,allow  
allow from all  
</Location>

For each client request to http://public/tls/, apache sets up a new https session to the origin server i.e. it does not reuse session id returned by origin server in ServerHello messages. Is it possible to configure apache in such a way that it performs resumed TLS handshake to the origin server (having in mind that the request to the proxy itself is http)?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.