source: mod_gnutls/test/tests/21_TLS_reverse_proxy_wrong_cert/test.yml @ bdf5917

asyncioproxy-ticket
Last change on this file since bdf5917 was eb84747, checked in by Fiona Klute <fiona.klute@…>, 22 months ago

TestConnection?: Add optional "description" attribute for logging

  • Property mode set to 100644
File size: 769 bytes
Line 
1- !connection
2  description: >-
3    The reverse proxy can't access the backend (certificate validation
4    fails)
5  gnutls_params:
6    - x509cafile=authority/x509.pem
7  actions:
8    - !request
9      path: /proxy/test.txt
10      expect:
11        status: 502
12        body:
13          contains:
14            - 'Proxy Error'
15            - 'Error reading from remote server'
16
17- !connection
18  description: >-
19    Check if the proxy itself works correctly and presents the
20    expected bad certificate
21  host: '${BACKEND_HOST}'
22  port: '${BACKEND_PORT}'
23  gnutls_params:
24    - x509cafile=authority/x509.pem
25    - verify-hostname=imposter.example
26  actions:
27    - !request
28      path: /test.txt
29      expect:
30        status: 200
31        body:
32          exactly: |
33            test
Note: See TracBrowser for help on using the repository browser.