| 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 |
</features> |
| 21 |
<server> |
| 22 |
https Server-localhost0h-sv.pem |
| 23 |
</server> |
| 24 |
<name> |
| 25 |
HTTPS wrong subjectAltName but right CN |
| 26 |
</name> |
| 27 |
<command> |
| 28 |
--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311 |
| 29 |
</command> |
| 30 |
# Ensure that we're running on localhost because we're checking the host name |
| 31 |
<precheck> |
| 32 |
perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" |
| 33 |
</precheck> |
| 34 |
</client> |
| 35 |
|
| 36 |
# |
| 37 |
# Verify data after the test has been "shot" |
| 38 |
<verify> |
| 39 |
<errorcode> |
| 40 |
60 |
| 41 |
</errorcode> |
| 42 |
</verify> |
| 43 |
</testcase> |