xref: /curl/tests/data/test2042 (revision 6f2a1666)
1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTP GET
6PEM certificate
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13</reply>
14
15#
16# Client-side
17<client>
18<features>
19SSL
20SSLpinning
21local-http
22</features>
23<server>
24https Server-localhost-sv.pem
25</server>
26<name>
27HTTPS wrong base64-sha256 pinnedpubkey but right CN
28</name>
29<command>
30-4 --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//bSIggTf+ikMG0CtmDlpMVBd7yi7H1md4URogRPqerso= https://localhost:%HTTPSPORT/%TESTNUMBER
31</command>
32</client>
33
34#
35# Verify data after the test has been "shot"
36<verify>
37<errorcode>
3890
39</errorcode>
40</verify>
41</testcase>
42