Changeset 2d5cf4e in mod_gnutls


Ignore:
Timestamp:
Aug 29, 2020, 5:01:23 PM (16 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
3943cd1
Parents:
d17866f
Message:

Test successful and failed client auth with the same server instance

The remaining and removed server configurations were identical. The
difference was that in the "fail" the client did not authenticate (no
cert/key) and expected the connection to fail. This test has been
moved to the 10_basic_client_verification test as a second test
connection, achieving the same test coverage with one less round of
server start/stop.

Location:
test
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    rd17866f r2d5cf4e  
    2727        test-09_verify_no_sni_fails_with_wrong_order.bash \
    2828        test-10_basic_client_verification.bash \
    29         test-11_basic_client_verification_fail.bash \
    3029        test-12_cgi_variables.bash \
    3130        test-13_cgi_variables_no_client_cert.bash \
  • test/tests/10_basic_client_verification/test.yaml

    rd17866f r2d5cf4e  
    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: /test.txt
    9     expect:
    10       status: 200
    11       body:
    12         exactly: |
    13           test
     1- !connection
     2  description: >-
     3    The server requires authentication, a client presenting a valid
     4    certificate gets a good response.
     5  gnutls_params:
     6    - x509cafile=authority/x509.pem
     7    - x509keyfile=authority/client/secret.key
     8    - x509certfile=authority/client/x509.pem
     9  actions:
     10    - !request
     11      path: /test.txt
     12      expect:
     13        status: 200
     14        body:
     15          exactly: |
     16            test
     17- !connection
     18  description: >-
     19    The server requires authentication, a client without a certificate
     20    is rejected.
     21  gnutls_params:
     22    - x509cafile=authority/x509.pem
     23  actions:
     24    - !request
     25      path: /test.txt
     26      expect:
     27        reset: yes
  • test/tests/Makefile.am

    rd17866f r2d5cf4e  
    1010        09_verify_no_sni_fails_with_wrong_order/apache.conf 09_verify_no_sni_fails_with_wrong_order/test.yaml \
    1111        10_basic_client_verification/apache.conf 10_basic_client_verification/test.yaml \
    12         11_basic_client_verification_fail/apache.conf 11_basic_client_verification_fail/test.yaml \
    1312        12_cgi_variables/apache.conf 12_cgi_variables/test.yaml \
    1413        13_cgi_variables_no_client_cert/apache.conf 13_cgi_variables_no_client_cert/test.yaml \
Note: See TracChangeset for help on using the changeset viewer.