1

Below is my virtual host conf for https proxy

<VirtualHost *:443> ServerAdmin [email protected] ServerName example.openjuice.co ProxyRequests off SSLEngine on SSLProxyEngine On SSLCertificateFile /etc/ssl/cert/certs/apache.crt SSLCertificateKeyFile /etc/ssl/cert/certs/apache.key <Proxy *> Order deny,allow Allow from all </Proxy> <Location /> ProxyPass https://localhost:3006/ ProxyPassReverse https://example.openjuice.co:3006/ </Location> </VirtualHost> 

But i am getting below error

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /.

Reason: Error reading from remote server

Please help me on this

2
  • 1
    Do you have any Apache log ? Did you tired : ProxyPass https://localhost:3006/ Keepalive=On ? Commented Dec 14, 2015 at 16:53
  • Hi It got worked by adding below line to above conf SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off Commented Dec 15, 2015 at 7:31

1 Answer 1

2

It worked for me Add below to above conf

SSLProxyEngine on SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off 
3
  • 1
    could you set your answer as valid (the check button under the vote button) ? thanks Commented Dec 15, 2015 at 13:33
  • This works! @kirthan shetty, please accept the answer. Commented Aug 16, 2017 at 4:09
  • 2
    Please note that disabling the SSLProxyCheck* bypasses many security benefits of SSL/TLS. You may need to use it in some situations, but you should be aware of the security risks and don't just use this blindly to fix the error without knowing what they do. Commented Sep 26, 2018 at 0:58

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.