.NET5 self-contained webAPI with HTTPS

150 Views Asked by At

What would be the best way to allow only HTTPS connections with a self hosted .NET5 webApi? And how do I go about configuring an SSL Certificate (either real or self-signed)?

I've only used IIS deployments so I'm struggling to understand how to make a webserver I don't control use a specific certificate..

0

There are 0 best solutions below