Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting the following errors when trying to do a proxy to an SSL backend server:

[Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to ( [Thu Jan 03 14:44:26 2013] [error] [client] proxy: Error during SSL Handshake with remote server returned by /subsonic/ [Thu Jan 03 14:44:26 2013] [error] proxy: pass request body failed to ( from ()

I've got the following apache config setup:

<VirtualHost *:443>
DocumentRoot "/media/Drobo02/www/"

SSLEngine on
SSLCertificateFile /etc/ssl/apache2/
SSLCertificateKeyFile /etc/ssl/apache2/
SSLProxyEngine on
SSLVerifyClient None

<Directory "/media/Drobo02/www/">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all

<IfModule mpm_peruser_module>
    ServerEnvironment apache apache

# Proxy subsonic
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
ProxyPass /subsonic
ProxyPassReverse /subsonic

I also tried using localhost for the backend server, but I get the same error. It works fine when I proxy to a non-ssl backend, but I need this to be SSL because subsonic does not work correctly if the scheme is different.

share|improve this question
Apache is telling you that there was an error negotiating SSL with the back end server. So, what happens when you connect to the back end server with SSL manually? Is it configured correctly? – bahamat Jan 3 '13 at 23:44
I can connect to the backend server fine. I get an SSL error for being a self signed cert, but that's why I put SSLVerifyClient None in my config. – zombor Jan 4 '13 at 0:28

Your Answer


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

Browse other questions tagged or ask your own question.