[Ilugc] configure https for forward proxy in apache

  • From: dineshatit@xxxxxxxxx (Dinesh Kumar)
  • Date: Fri Feb 13 18:15:59 2009

As you said , i have configured . but here openssl is not installed and
no module called mod_ssl ..

to install it , i need the following ?

1.apache-1.3.41
2.openssl -0.9.8h
3. apache_1.3.9+ssl_1.37

2009/2/13 Kapil Hari Paranjape <kapil@xxxxxxxxxxx>

Hello,

On Fri, 13 Feb 2009, Dinesh Kumar wrote:
In our Application , we are using forward proxy in apache and
working fine . but in case, use of https fails,
 so how to configure to forward the https request in http.conf. guidance
please ...

We use apache2 for the frontend.

The following configuration uses a single "https" virtual host as a
frontend for multiple backend https servers. All the certificates are
signed by a single "master" certificate.

With more recent apache2 it is also possible to have multiple https
virtual hosts. We do not have the need for this and have not
experimented with it.

Hope this helps,

Kapil.

-------------------
<VirtualHost *:443>
       ErrorLog /var/log/apache2/sslerror.log

       # Possible values include: debug, info, notice, warn, error, crit,
       # alert, emerg.
       LogLevel warn

       CustomLog /var/log/apache2/sslaccess.log combined
       ServerSignature On

       #SSL Stuff
       SSLEngine on
       SSLCertificateFile    /etc/apache2/ssl/ssl.crt/server.crt
       SSLCertificateKeyFile /etc/apache2/ssl/ssl.key/server.key

       # Set an environment variable to indicate that this is the SSL
server
       SetEnv USING_SSL_SERVER 1

       <IfModule mod_proxy.c>

               # Don't allow proxy services
               # this is only a reverse proxy
               ProxyRequests   Off

               # Experiment with these depending on
               # what your backend server config is
               ProxyVia On
               ProxyPreserveHost       On

               SSLProxyCACertificateFile /etc/ssl/certs/imsc_ca.crt
               SSLProxyEngine On

               <Proxy *>
                       Order allow,deny
                       Allow from all
               </Proxy>

               # Proxy rules for the wiki
               ProxyPass       /IMScWiki/
https://wiki.imsc.res.in/IMScWiki
               ProxyPassReverse        /IMScWiki
               ProxyPass       /eprints/
https://eprints.imsc.res.in/eprints
               ProxyPassReverse        /eprints
               # other servers here etc.
       </IfModule>

</VirtualHost>
-------------------
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: