Compdigitec Labs

« | Home | »

Reverse proxy HTTPS with Apache

By admin | August 23, 2013

The procedure is mostly similar to the procedure with regular HTTP, but there are a few gimmicks involved here:

  1. Generate a self-signed one or purchase a SSL certificate (*.crt) for the server in question.
  2. Make sure you run ‘sudo a2enmod ssl‘ to enable SSL.
  3. Make sure you have enable the proxy module with ‘sudo a2enmod proxy‘ as well.

Below is a sample reverse HTTPS proxy configuration.

<VirtualHost *:443>
    <Proxy *>
     Order Deny,Allow
     Allow from all

 SSLEngine On
 SSLProxyEngine On
 SSLCertificateFile /etc/apache2/cert/server.crt <!-- path to your certifcate and key -->
 SSLCertificateKeyFile /etc/apache2/cert/server.key
 SSLProxyCheckPeerCN off
 SSLProxyCheckPeerExpire off
 SSLProxyCheckPeerName off

 ProxyRequests Off
 ProxyPass /
 ProxyPassReverse /
 ProxyPreserveHost On

Replace with the internal IP address of your server, as before (keep the http(s):// portion).

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 4 Comments »

4 Responses to “Reverse proxy HTTPS with Apache”

  1. สล็อตวอเลท Says:
    January 10th, 2024 at 00:17

    … [Trackback]

    […] Information to that Topic: […]

  2. ผลบอล Says:
    January 16th, 2024 at 21:38

    … [Trackback]

    […] Read More Info here on that Topic: […]

  3. สล็อต PG เว็บตรง แตกหนัก 2023 Says:
    February 11th, 2024 at 18:34

    … [Trackback]

    […] Read More here to that Topic: […]

  4. ขออย Says:
    February 28th, 2024 at 19:10

    … [Trackback]

    […] Find More on that Topic: […]