https
Create PFX Certificate on Windows
A while back I had a post where I talked about setting up .net core in docker using SSL and a HTTPS port you can read that here To make a .net core project work on a HTTPS port you need to pass it the cert. One way to do