lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTPS | ||||
5 | HTTP GET | ||||
6 | PEM certificate | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | # | ||||
11 | # Server-side | ||||
12 | <reply> | ||||
13 | </reply> | ||||
14 | |||||
15 | # | ||||
16 | # Client-side | ||||
17 | <client> | ||||
18 | <features> | ||||
19 | SSL | ||||
20 | SSLpinning | ||||
21 | </features> | ||||
22 | <server> | ||||
23 | https Server-localhost-sv.pem | ||||
24 | </server> | ||||
25 | <name> | ||||
26 | pinnedpubkey no-match must fail even when insecure | ||||
27 | </name> | ||||
28 | <command> | ||||
29 | --insecure --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey %SRCDIR/certs/Server-localhost.nn-sv.pub.der https://localhost:%HTTPSPORT/2048 | ||||
30 | </command> | ||||
31 | </client> | ||||
32 | |||||
33 | # | ||||
34 | # Verify data after the test has been "shot" | ||||
35 | <verify> | ||||
36 | <errorcode> | ||||
37 | 90 | ||||
38 | </errorcode> | ||||
39 | </verify> | ||||
40 | </testcase> |