Changeset c33b0ea in mod_gnutls


Ignore:
Timestamp:
Jan 25, 2020, 8:51:26 AM (4 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
07fc5d3
Parents:
0be2505
Message:

Test per-directory "GnuTLSClientVerify request"

The request must always be allowed, and SSL_CLIENT_VERIFY set to the
appropriate status.

Location:
test/tests/35_client_reauth
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/tests/35_client_reauth/apache.conf

    r0be2505 rc33b0ea  
    44GnuTLSCache ${DEFAULT_CACHE}
    55
    6 <Directory ${srcdir}/data/secret>
     6<Directory ${srcdir}/data/>
    77    Options +ExecCGI
    88</Directory>
     
    1818        GnuTLSClientVerify      require
    1919    </Location>
     20    <Location /dump.cgi>
     21        GnuTLSClientVerify      request
     22    </Location>
    2023</VirtualHost>
  • test/tests/35_client_reauth/test.yml

    r0be2505 rc33b0ea  
    3636            party is the one that did the handshake, so caching the data
    3737            is appropriate.
     38    - !request
     39      path: /dump.cgi
     40      expect:
     41        status: 200
     42        body:
     43          contains:
     44            - |
     45              ----Verification Status:----
     46              SUCCESS
     47            - |
     48              ----SubjectAltName:----
     49              RFC822NAME:test0@modgnutls.test
    3850- !connection
    3951  description: >-
     
    5870        body:
    5971          contains: Forbidden
     72    - !request
     73      path: /dump.cgi
     74      expect:
     75        status: 200
     76        body:
     77          contains: |
     78            ----Verification Status:----
     79            NONE
    6080- !connection
    6181  description: >-
     
    82102        body:
    83103          contains: Forbidden
     104    - !request
     105      path: /dump.cgi
     106      expect:
     107        status: 200
     108        body:
     109          contains: |
     110            ----Verification Status:----
     111            FAILED
Note: See TracChangeset for help on using the changeset viewer.