hurl/integration/ssl/insecure.json

2 lines
953 B
JSON

{"entries":[{"request":{"method":"GET","url":"https://localhost:8001/hello"},"response":{"status":200,"asserts":[{"query":{"type":"certificate","expr":"Subject"},"predicate":{"type":"equal","value":"C=US, ST=Denial, L=Springfield, O=Dis, CN=localhost"}},{"query":{"type":"certificate","expr":"Issuer"},"predicate":{"type":"equal","value":"C=US, ST=Denial, L=Springfield, O=Dis, CN=localhost"}},{"query":{"type":"certificate","expr":"Start-Date"},"filters":[{"type":"format","fmt":"%Y-%m-%d %H:%M:%S UTC"}],"predicate":{"type":"equal","value":"2023-01-10 08:29:52 UTC"}},{"query":{"type":"certificate","expr":"Expire-Date"},"filters":[{"type":"format","fmt":"%Y-%m-%d %H:%M:%S UTC"}],"predicate":{"type":"equal","value":"2025-10-30 08:29:52 UTC"}},{"query":{"type":"certificate","expr":"Serial-Number"},"predicate":{"type":"equal","value":"1e:e8:b1:7f:1b:64:d8:d6:b3:de:87:01:03:d2:a4:f5:33:53:5a:b0"}}],"body":{"type":"text","value":"Hello World!"}}}]}