test678 884 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. <data>
  13. HTTP/1.1 200 OK
  14. Date: Tue, 09 Nov 2010 14:49:00 GMT
  15. Server: test-server/fake
  16. Content-Length: 7
  17. MooMoo
  18. </data>
  19. </reply>
  20. #
  21. # Client-side
  22. <client>
  23. <features>
  24. SSL
  25. </features>
  26. <server>
  27. https Server-localhost-sv.pem
  28. </server>
  29. <name>
  30. HTTPS GET using CURLOPT_CAINFO_BLOB
  31. </name>
  32. <tool>
  33. lib%TESTNUMBER
  34. </tool>
  35. # provide URL and ca-cert
  36. <command>
  37. https://localhost:%HTTPSPORT/%TESTNUMBER %SRCDIR/certs/EdelCurlRoot-ca.crt
  38. </command>
  39. # Ensure that we're running on localhost because we're checking the host name
  40. <precheck>
  41. ./libtest/lib%TESTNUMBER check
  42. </precheck>
  43. </client>
  44. #
  45. # Verify data after the test has been "shot"
  46. <verify>
  47. <protocol>
  48. GET /%TESTNUMBER HTTP/1.1
  49. Host: localhost:%HTTPSPORT
  50. User-Agent: CURLOPT_CAINFO_BLOB
  51. Accept: */*
  52. </protocol>
  53. </verify>
  54. </testcase>