xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTPS |
| 5 | HTTP GET |
| 6 | PEM certificate |
| 7 | CRL |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Client-side |
| 13 | <client> |
| 14 | <features> |
| 15 | SSL |
| 16 | </features> |
| 17 | <server> |
| 18 | https Server-localhost-sv.pem |
| 19 | </server> |
| 20 | <name> |
| 21 | CRL test |
| 22 | </name> |
| 23 | <command> |
| 24 | --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --crlfile %SRCDIR/certs/Server-localhost-sv.crl https://localhost:%HTTPSPORT/%TESTNUMBER |
| 25 | </command> |
| 26 | # Ensure that we're running on localhost because we're checking the host name |
| 27 | <precheck> |
| 28 | perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" |
| 29 | </precheck> |
| 30 | </client> |
| 31 | |
| 32 | # |
| 33 | # Verify data after the test has been "shot" |
| 34 | <verify> |
| 35 | <errorcode> |
| 36 | 60 |
| 37 | </errorcode> |
| 38 | </verify> |
| 39 | </testcase> |