5 Commits
Author SHA1 Message Date
George BarnettandGitHub 8cfd301b41 Update test certs (#901)
Motivation:

The cert used in some tests has expired so tests now fail

Modifications:

- Regenerate

Result:

Tests pass
2026-04-02 16:42:33 +00:00
Gus CairoandGitHub 2064247c2b Update expired test cert (#824)
The certificate for `AsyncAwaitEndToEndTests.testDnsOverride` has
expired: this PR updates it.
2025-04-01 15:42:41 +01:00
hamzahrmalikandGitHub 36292f9d57 Renew certificates in tests (#731) 2024-03-29 01:12:13 -07:00
David NadobaandGitHub 98b45ed1cd Allow DNS override (#675)
Sometimes it can be useful to connect to one host e.g. `x.example.com` but request and validate the certificate chain as if we would connect to `y.example.com`. This is what this PR adds support for by adding a `dnsOverride` configuration to `HTTPClient.Configuration`. This is similar to curls `—resolve-to` option but only allows overriding host and not ports for now.
2023-03-30 08:21:41 +01:00
David NadobaandGitHub 794dc9d427 Add testSelfSignedCertificateIsRejectedWithCorrectError (#594) 2022-06-17 20:32:33 +02:00