title: how to configure apache server to talk to HTTPS backend server?
body: <p>I configured apache server as a reverse proxy and it works fine if I point a backend server as HTTP. That is:</p>
  
  <p>I configured virtual host 443 like:</p>
  
  <pre><code>ProxyPass /primary/store http://localhost:9763/store/
  ProxyPassReverse /primary/store http://localhost:9763/store/
  </code></pre>
  
  <p>Here users will access the server like <code>https://localhost/primary/store</code></p>
  
  <p>And this works fine... But I want to configure HTTP server like;</p>
  
  <pre><code>ProxyPass /primary/store https://localhost:9443/store/
  ProxyPassReverse /primary/store https://localhost:9443/store/
  </code></pre>
  
  <p>When I configure like apache server gives 500 internal server error. What am I doing wrong here?</p>
  
  <p>The error I get is:</p>
  
  <pre><code>The server encountered an internal error or misconfiguration and was unable to complete your request.
  
  Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  
  More information about this error may be available in the server error log.
  </code></pre>
  
  <p>In the apache error log it states;</p>
  
  <pre><code>nt: SSLProxyEngine]
  [Mon Aug 04 00:03:26 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
  [Mon Aug 04 00:03:31 2014] [error] [client ::1] SSL Proxy requested for localhost:443 but not enabled [Hint: SSLProxyEngine]
  [Mon Aug 04 00:03:31 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
  [Mon Aug 04 00:03:51 2014] [error] [client ::1] SSL Proxy requested for localhost:443 but not enabled [Hint: SSLProxyEngine]
  [Mon Aug 04 00:03:51 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
  </code></pre>
  
  <p>How to configure http server to talk to HTTPS server?</p>