Changeset 4b9e34a in mod_gnutls


Ignore:
Timestamp:
Aug 30, 2020, 2:51:57 PM (15 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
cbc3477
Parents:
9bffdec
Message:

Unify tests for CGI variables with and without client certificate

Both can work with the same server configuration, so it makes sense to
start only one server instance.

Location:
test
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    r9bffdec r4b9e34a  
    2828        test-10_client_verification.bash \
    2929        test-12_cgi_variables.bash \
    30         test-13_cgi_variables_no_client_cert.bash \
    3130        test-14_resume_session.bash
    3231if USE_MSVA
  • test/tests/12_cgi_variables/test.yaml

    r9bffdec r4b9e34a  
    1 !connection
    2 gnutls_params:
    3   - x509cafile=authority/x509.pem
    4   - x509keyfile=authority/client/secret.key
    5   - x509certfile=authority/client/x509.pem
    6 actions:
    7   - !request
    8     path: /dump.cgi
    9     expect:
    10       status: 200
    11       body:
    12         contains:
    13           - |
     1- !connection
     2  description: >-
     3    The server requests but does not require client
     4    authentication. The client authenticates, and the CGI script can
     5    include certificate details in the output using environment
     6    variables.
     7  gnutls_params:
     8    - x509cafile=authority/x509.pem
     9    - x509keyfile=authority/client/secret.key
     10    - x509certfile=authority/client/x509.pem
     11  actions:
     12    - !request
     13      path: /dump.cgi
     14      expect:
     15        status: 200
     16        body:
     17          contains:
     18            - |
     19              ----Certificate:----
     20              -----BEGIN CERTIFICATE-----
     21            - |
     22              -----END CERTIFICATE-----
     23
     24
     25              ----Verification Status:----
     26              SUCCESS
     27
     28              ----SubjectAltName:----
     29              RFC822NAME:test0@modgnutls.test
     30
     31- !connection
     32  description: >-
     33    The server requests but does not require client
     34    authentication. The client does not authenticate, and the CGI
     35    script can note that in the output using environment variables.
     36  gnutls_params:
     37    - x509cafile=authority/x509.pem
     38  actions:
     39    - !request
     40      path: /dump.cgi
     41      expect:
     42        status: 200
     43        body:
     44          contains: |
    1445            ----Certificate:----
    15             -----BEGIN CERTIFICATE-----
    16           - |
    17             -----END CERTIFICATE-----
    1846
    1947
    2048            ----Verification Status:----
    21             SUCCESS
     49            NONE
    2250
    2351            ----SubjectAltName:----
    24             RFC822NAME:test0@modgnutls.test
  • test/tests/Makefile.am

    r9bffdec r4b9e34a  
    1111        10_client_verification/apache.conf 10_client_verification/test.yaml \
    1212        12_cgi_variables/apache.conf 12_cgi_variables/test.yaml \
    13         13_cgi_variables_no_client_cert/apache.conf 13_cgi_variables_no_client_cert/test.yaml \
    1413        14_resume_session/apache.conf 14_resume_session/hooks.py 14_resume_session/test.yaml \
    1514        15_basic_msva/apache.conf 15_basic_msva/hooks.py 15_basic_msva/test.yaml \
Note: See TracChangeset for help on using the changeset viewer.