Building and Securing RESTful APIs in ASP.NET Core.
i am using a file localhost.pfx following the instruction given (https://peteskelly.com/testing-ssl-in-asp-net-core-mac/)
solution can be improved using (https://blogs.msdn.microsoft.com/webdev/2017/11/29/configuring-https-in-asp-net-core-across-different-platforms/)