source: mod_gnutls/test/tests/04_name_based_vhosts/test.yaml @ e27e01f

asyncio
Last change on this file since e27e01f was e27e01f, checked in by Fiona Klute <fiona.klute@…>, 13 months ago

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.

  • Property mode set to 100644
File size: 972 bytes
Line 
1- !connection
2  description: >-
3    Connection to the default (first) vhost must work without SNI.
4  gnutls_params:
5    - x509cafile=authority/x509.pem
6    - disable-sni
7  actions:
8    - !request
9      path: /vhost0/test.txt
10      expect:
11        status: 200
12        body:
13          exactly: |
14            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
Note: See TracBrowser for help on using the repository browser.