test509 653 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 OK
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Server: localhost:8433
  8. Content-length:6
  9. Hello
  10. </data>
  11. <datacheck>
  12. Hello
  13. </datacheck>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. https
  20. </server>
  21. <features>
  22. SSL
  23. </features>
  24. <tool>
  25. lib509
  26. </tool>
  27. <name>
  28. simple HTTPS GET and URL redirect in certificate
  29. </name>
  30. <command>
  31. https://localhost:%HTTPSPORT/dvcs
  32. </command>
  33. </client>
  34. #
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <strip>
  38. ^User-Agent:.*
  39. </strip>
  40. <protocol>
  41. GET /509 HTTP/1.1
  42. Host: localhost:8433
  43. Pragma: no-cache
  44. Accept: */*
  45. </protocol>
  46. </verify>