Changeset 44188aa in mod_gnutls


Ignore:
Timestamp:
Jan 24, 2020, 4:19:51 PM (9 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
7543db4
Parents:
4f2c988
git-author:
Fiona Klute <fiona.klute@…> (01/24/20 16:04:11)
git-committer:
Fiona Klute <fiona.klute@…> (01/24/20 16:19:51)
Message:

Test post-handshake authentication with an untrusted certificate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/tests/35_client_reauth/test.yml

    r4f2c988 r44188aa  
    5858        body:
    5959          contains: Forbidden
     60- !connection
     61  description: >-
     62    This client has an untrusted certificate, so the the second
     63    request will receive 403 Forbidden.
     64  gnutls_params:
     65    - x509cafile=authority/x509.pem
     66    - x509keyfile=rogueca/rogueclient/secret.key
     67    - x509certfile=rogueca/rogueclient/x509.pem
     68    - post-handshake-auth
     69  actions:
     70    - !request
     71      path: /test.txt
     72      expect:
     73        status: 200
     74        body:
     75          exactly: |
     76            test
     77    - !request
     78      method: GET
     79      path: /secret/test.txt
     80      expect:
     81        status: 403
     82        body:
     83          contains: Forbidden
Note: See TracChangeset for help on using the changeset viewer.