2
0

test312 691 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTPS
  5. HTTP GET
  6. PEM certificate
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. </reply>
  13. #
  14. # Client-side
  15. <client>
  16. <features>
  17. SSL
  18. </features>
  19. <server>
  20. https Server-localhost.nn-sv.pem
  21. </server>
  22. <name>
  23. HTTPS GET to localhost and null-prefixed CN cert
  24. </name>
  25. <command>
  26. --cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
  27. </command>
  28. # Ensure that we're running on localhost because we're checking the host name
  29. <precheck>
  30. perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );"
  31. </precheck>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <errorcode>
  37. 51
  38. </errorcode>
  39. </verify>
  40. </testcase>