Skip to content

HttpClient: How to disable hostcert verification when using SocketsHttpHandler ? #95190

@kjpgit

Description

@kjpgit

✅ SocketsHttpHandler has PooledConnectionLifetime property so DNS isn't cached forever
✅ HttpClientHandler has ServerCertificateCustomValidationCallback so our self signed certs for dev work
🛑 I have no idea how to make a HttpClient() that uses both of the above settings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions