test3024 (890B)
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 <data> 14 HTTP/1.1 200 OK 15 Date: Tue, 09 Nov 2010 14:49:00 GMT 16 Server: test-server/fake 17 Content-Length: 7 18 19 MooMoo 20 </data> 21 </reply> 22 23 # 24 # Client-side 25 <client> 26 <features> 27 SSL 28 Schannel 29 local-http 30 </features> 31 <server> 32 https test-localhost-san-last.pem 33 </server> 34 <name> 35 HTTPS localhost, last subaltname matches, CN does not match (Schannel) 36 </name> 37 <setenv> 38 # This test is pointless if we are not using the Schannel backend 39 CURL_SSL_BACKEND=schannel 40 </setenv> 41 <command> 42 -4 --cacert %CERTDIR/certs/test-ca.crt --ssl-revoke-best-effort https://localhost:%HTTPSPORT/%TESTNUMBER 43 </command> 44 </client> 45 46 # 47 # Verify data after the test has been "shot" 48 <verify> 49 <protocol> 50 GET /%TESTNUMBER HTTP/1.1 51 Host: localhost:%HTTPSPORT 52 User-Agent: curl/%VERSION 53 Accept: */* 54 55 </protocol> 56 </verify> 57 </testcase>