Visual Studio 2019 and Jetbrains Rider .NET Core (and possibly other) projects register a "localhost" root certificate on the system, and then when launching and debugging .NET Core applications, they run the web service using certs and keys that validate against that localhost root cert.
I have my own root cert and want to run under a custom domain, lan.company.com, which also has it's own custom cert and key. How do I configure the project or IDE to use a particular cert and key when serving the app?