quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test2038 (557B)


      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 local-http
     22 </features>
     23 <server>
     24 https test-localhost.pem
     25 </server>
     26 <name>
     27 HTTPS wrong PEM pinnedpubkey but right CN
     28 </name>
     29 <command>
     30 -4 --cacert %CERTDIR/certs/test-ca.crt --pinnedpubkey %CERTDIR/certs/test-localhost.pem https://localhost:%HTTPSPORT/%TESTNUMBER
     31 </command>
     32 </client>
     33 
     34 #
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <errorcode>
     38 90
     39 </errorcode>
     40 </verify>
     41 </testcase>