File: proxyssl.conf.in

package info (click to toggle)
libapreq2-perl 2.04-dev-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,700 kB
  • ctags: 1,508
  • sloc: sh: 8,103; ansic: 5,557; perl: 2,842; cpp: 1,052; makefile: 234
file content (60 lines) | stat: -rw-r--r-- 1,864 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<IfModule @ssl_module@>

<IfModule mod_proxy.c>

    #here we can test http <-> https
    <VirtualHost proxy_http_https>
        #these are not on by default in the 1.x based mod_ssl
        <IfDefine APACHE2>
            SSLProxyEngine On

            SSLProxyProtocol +SSLv2 +SSLv3 +TLSv1
            SSLProxyCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

            SSLProxyMachineCertificateFile @SSLCA@/asf/proxy/client_ok.pem
            #SSLProxyMachineCertificatePath @SSLCA@/asf/proxy

            SSLProxyCACertificateFile @SSLCA@/asf/certs/ca.crt
            SSLProxyCACertificatePath @ServerRoot@/conf/ssl
            SSLProxyCARevocationFile @SSLCA@/asf/crl/ca-bundle.crl
            SSLProxyVerify on
            SSLProxyVerifyDepth 10
        </IfDefine>


        ProxyPass        / https://@proxyssl_url@/
        ProxyPassReverse / https://@proxyssl_url@/
    </VirtualHost>


    #here we can test https <-> https
    <VirtualHost proxy_https_https>
        SSLEngine on

        #these are not on by default in the 1.x based mod_ssl
        <IfDefine APACHE2>
            SSLProxyEngine On
            # ensure that client_ok.pem is picked first:
            SSLProxyMachineCertificateFile @SSLCA@/asf/proxy/client_ok.pem
            SSLProxyMachineCertificatePath @SSLCA@/asf/proxy
            SSLProxyCACertificateFile @SSLCA@/asf/certs/ca.crt
            SSLProxyVerify on
            SSLProxyCARevocationPath @SSLCA@/asf/crl
        </IfDefine>


        ProxyPass        / https://@proxyssl_url@/
        ProxyPassReverse / https://@proxyssl_url@/
    </VirtualHost>

    #here we can test https <-> http
    <VirtualHost proxy_https_http>
        SSLEngine on

        ProxyPass        / http://@servername@:@port@/
        ProxyPassReverse / http://@servername@:@port@/
    </VirtualHost>

</IfModule>

</IfModule>