summaryrefslogtreecommitdiff
path: root/testing/hosts/winnetou/etc/apache2/sites-enabled/001-ocsp_vhost.conf
blob: fb9e984241f6fed28cf224fedff9a6d873688f34 (plain)
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
# OCSP Server

Listen 8880

AddHandler cgi-script .cgi

<VirtualHost *:8880>
    ServerAdmin  root@strongswan.org
    DocumentRoot /etc/openssl/ocsp
    ServerName   ocsp.strongswan.org
    ServerAlias	 192.168.0.150
    DirectoryIndex ocsp.cgi
    <Directory "/etc/openssl/ocsp">
        Options  +ExecCGI
        Require all granted
   </Directory>
   ErrorLog     /var/log/apache2/ocsp/error_log
   CustomLog    /var/log/apache2/ocsp/access_log combined
</VirtualHost>

Listen 8881

<VirtualHost *:8881>
    ServerAdmin  root@research.strongswan.org
    DocumentRoot /etc/openssl/research/ocsp
    ServerName   ocsp.research.strongswan.org
    ServerAlias	 ocsp.strongswan.org 192.168.0.150
    DirectoryIndex ocsp.cgi
    <Directory "/etc/openssl/research/ocsp">
        Options +ExecCGI
        Require all granted
   </Directory>
   ErrorLog     /var/log/apache2/ocsp/error_log
   CustomLog    /var/log/apache2/ocsp/access_log combined
</VirtualHost>

Listen 8882

<VirtualHost *:8882>
    ServerAdmin  root@sales.strongswan.org
    DocumentRoot /etc/openssl/sales/ocsp
    ServerName   ocsp.sales.strongswan.org
    ServerAlias	 ocsp.strongswan.org 192.168.0.150
    DirectoryIndex ocsp.cgi
    <Directory "/etc/openssl/sales/ocsp">
        Options +ExecCGI
        Require all granted
   </Directory>
   ErrorLog     /var/log/apache2/ocsp/error_log
   CustomLog    /var/log/apache2/ocsp/access_log combined
</VirtualHost>