Create a pool of the preconfigured handlers with your custom certs, and then follow this guideline to create the client:
- Create an instance of SocketsHttpHandler when the app starts and use it for the life of the app.
- Configure PooledConnectionLifetime to an appropriate value based on DNS refresh times.
- Create HttpClient instances using new HttpClient(handler, disposeHandler: false) as needed.