Changeset e27e01f in mod_gnutls


Ignore:
Timestamp:
Sep 27, 2020, 11:22:45 AM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio
Children:
747a9c4
Parents:
2495b5a
Message:

Integrate basic SNI tests into 04_name_based_vhosts

06_verify_sni_a: Connection to first vhost must work while second
vhost exists, covered by the second connection.

07_verify_sni_b: Connection to second vhost must work, covered by the
third connection.

08_verify_no_sni_fallback_to_first_vhost: TLS handshake without SNI
must connect to default vhost, covered by the first connection.

09_verify_no_sni_fails_with_wrong_order: TLS handshake without SNI
must connect to default vhost, covered by the first connection.

Location:
test
Files:
8 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    r2495b5a re27e01f  
    2222        test-03_cachetimeout_in_vhost.bash \
    2323        test-04_name_based_vhosts.bash \
    24         test-06_verify_sni_a.bash \
    25         test-07_verify_sni_b.bash \
    26         test-08_verify_no_sni_fallback_to_first_vhost.bash \
    27         test-09_verify_no_sni_fails_with_wrong_order.bash \
    2824        test-10_client_verification.bash \
    2925        test-12_cgi_variables.bash \
  • test/tests/04_name_based_vhosts/test.yaml

    r2495b5a re27e01f  
    77  actions:
    88    - !request
    9       path: /test.txt
     9      path: /vhost0/test.txt
    1010      expect:
    1111        status: 200
     
    1313          exactly: |
    1414            test
     15- !connection
     16  description: >-
     17    Connection to the default vhost must work with SNI.
     18  gnutls_params:
     19    - x509cafile=authority/x509.pem
     20  actions:
     21    - !request
     22      path: /vhost0/test.txt
     23      expect:
     24        status: 200
     25        body:
     26          exactly: |
     27            test
     28- !connection
     29  description: >-
     30    Connection to the second vhost must work with SNI.
     31  gnutls_params:
     32    - x509cafile=authority/x509.pem
     33    - verify-hostname=meow.test
     34    - sni-hostname=meow.test
     35  actions:
     36    - !request
     37      path: /meow/test.txt
     38      headers:
     39        Host: meow.test
     40      expect:
     41        status: 200
     42        body:
     43          exactly: |
     44            test
  • test/tests/Makefile.am

    r2495b5a re27e01f  
    55        03_cachetimeout_in_vhost/apache.conf 03_cachetimeout_in_vhost/test.yaml \
    66        04_name_based_vhosts/apache.conf 04_name_based_vhosts/test.yaml \
    7         06_verify_sni_a/apache.conf 06_verify_sni_a/test.yaml \
    8         07_verify_sni_b/apache.conf 07_verify_sni_b/test.yaml \
    9         08_verify_no_sni_fallback_to_first_vhost/apache.conf 08_verify_no_sni_fallback_to_first_vhost/test.yaml \
    10         09_verify_no_sni_fails_with_wrong_order/apache.conf 09_verify_no_sni_fails_with_wrong_order/test.yaml \
    117        10_client_verification/apache.conf 10_client_verification/test.yaml \
    128        12_cgi_variables/apache.conf 12_cgi_variables/test.yaml \
Note: See TracChangeset for help on using the changeset viewer.