hurl/integration/ssl/letsencrypt.json

2 lines
602 B
JSON

{"entries":[{"request":{"method":"GET","url":"https://hurl.dev"},"response":{"status":200,"asserts":[{"query":{"type":"certificate","expr":"Subject"},"predicate":{"type":"equal","value":"CN=hurl.dev"}},{"query":{"type":"certificate","expr":"Issuer"},"predicate":{"type":"equal","value":"C=US, O=Let's Encrypt, CN=R3"}},{"query":{"type":"certificate","expr":"Expire-Date"},"filters":[{"type":"daysAfterNow"}],"predicate":{"type":"greater","value":15}},{"query":{"type":"certificate","expr":"Serial-Number"},"predicate":{"type":"match","value":"^([\\da-f]{2}:){17}[\\da-f]{2}$","encoding":"regex"}}]}}]}