source: mod_gnutls/test/ocsp_server.conf @ fad7695

Last change on this file since fad7695 was c4d6e77, checked in by Thomas Klute <thomas2.klute@…>, 4 years ago

Test suite: New test case for simple HTTPS access with OCSP status check

  • Property mode set to 100644
File size: 966 bytes
[c4d6e77]1Include         ${srcdir}/cgi_module.conf
[c0c4106]2LoadModule      env_module              ${AP_LIBEXECDIR}/
3LoadModule      rewrite_module          ${AP_LIBEXECDIR}/
4<IfDefine !OCSP_INDEX>
5        # Default index file, define OCSP_INDEX in the test specific
6        # config to override
7        Define  OCSP_INDEX      ${PWD}/authority/ocsp_index.txt
10<VirtualHost _default_:${OCSP_PORT}>
11        RewriteEngine   On
12        RewriteRule     ^/ocsp(.*)      /ocsp.cgi$1     [L]
13        <Location /ocsp/>
14                # Some clients seem to have trouble with chunked
15                # encoding, so force HTTP/1.0 for now.
16                SetEnv  downgrade-1.0
17                # certificates and key for ocsp.cgi
18                SetEnv  CA_CERT         ${PWD}/authority/x509.pem
19                SetEnv  OCSP_INDEX      ${OCSP_INDEX}
20                SetEnv  OCSP_CERT       ${PWD}/ocsp-responder/x509.pem
21                SetEnv  OCSP_KEY        ${PWD}/ocsp-responder/secret.key
[21181b2]22                <If "-n osenv('OPENSSL')">
23                        # Pass OPENSSL variable to CGI script if set
24                        SetEnv  OPENSSL         ${OPENSSL}
25                </If>
[c0c4106]26        </Location>
27        <Directory ${srcdir}/data>
28                Options +ExecCGI
29        </Directory>
Note: See TracBrowser for help on using the repository browser.