xref: /curl/tests/data/test417 (revision fa461b4e)
1<testcase>
2<info>
3<keywords>
4HTTPS
5%{certs}
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fake
15Content-Length: 7
16
17nomnom
18</data>
19</reply>
20
21# Client-side
22<client>
23<features>
24SSL
25!wolfssl
26!bearssl
27!mbedtls
28!rustls
29</features>
30<server>
31http
32https
33</server>
34<name>
35%{certs}
36</name>
37<command option="no-include">
38--insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -w '%{certs}'
39</command>
40</client>
41<verify>
42<protocol>
43GET /%TESTNUMBER HTTP/1.1
44Host: %HOSTIP:%HTTPSPORT
45User-Agent: curl/%VERSION
46Accept: */*
47
48</protocol>
49<stripfile>
50s/^(.*):(.*)[\r\n]*//
51</stripfile>
52<stdout>
53nomnom
54%strippemfile[%SRCDIR/certs/stunnel-sv.crt]strippemfile%
55</stdout>
56
57</verify>
58
59</testcase>
60