Changeset 3943cd1 in mod_gnutls for test/tests


Ignore:
Timestamp:
Aug 29, 2020, 5:33:30 PM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio
Children:
9bffdec
Parents:
2d5cf4e
git-author:
Fiona Klute <fiona.klute@…> (08/29/20 17:24:26)
git-committer:
Fiona Klute <fiona.klute@…> (08/29/20 17:33:30)
Message:

Test client auth with untrusted certificate on shared instance

Basically the same as 2d5cf4e80dcebab5e8a35e8b2c3f8a7e13697fdb, except
that the now integrated test uses an untrusted client certificate
instead of none at all.

Location:
test/tests
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • test/tests/10_basic_client_verification/test.yaml

    r2d5cf4e r3943cd1  
    1515          exactly: |
    1616            test
     17
    1718- !connection
    1819  description: >-
     
    2627      expect:
    2728        reset: yes
     29
     30- !connection
     31  description: >-
     32    The server requires authentication, a client with an untrusted
     33    certificate receives a 403 Forbidden response.
     34  gnutls_params:
     35    - x509cafile=authority/x509.pem
     36    - x509certfile=rogueca/rogueclient/x509.pem
     37    - x509keyfile=rogueca/rogueclient/secret.key
     38  actions:
     39    - !request
     40      path: /test.txt
     41      expect:
     42        status: 403
     43        body:
     44          contains:
     45            - 'Forbidden'
     46            - "You don't have permission to access this resource."
  • test/tests/Makefile.am

    r2d5cf4e r3943cd1  
    1616        16_view-status/apache.conf 16_view-status/test.yaml \
    1717        17_cgi_vars_large_cert/apache.conf 17_cgi_vars_large_cert/test.yaml \
    18         18_client_verification_wrong_cert/apache.conf 18_client_verification_wrong_cert/test.yaml \
    1918        19_TLS_reverse_proxy/apache.conf 19_TLS_reverse_proxy/backend.conf 19_TLS_reverse_proxy/test.yaml \
    2019        20_TLS_reverse_proxy_client_auth/apache.conf 20_TLS_reverse_proxy_client_auth/backend.conf 20_TLS_reverse_proxy_client_auth/test.yaml \
Note: See TracChangeset for help on using the changeset viewer.