quickjs-tart

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

test311 (497B)


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