Following the question posted How to make a website secured with https my question is comes from an overflow of SSL information.
A have seen a lot of examples of websites written in ASP.NET Web API or MVC that embed a HTTPS authorization into the website programmatically. I also know how to enable HTTPS on IIS.
I was working on developing a website and put HTTPS into my controllers. And following videos I have watched on pluralsight.com I added HTTPS on WebAPI, for my website. A coworker asked why I spent time doing that since I will just be enabling it on the IIS sever.
I don't know why I did it but I saw examples of both. From a junior developer frustration, can I enable HTTPS on the sever and be safe from unencrypted connections?
I assume that someone could hijack the sever and issue cert's that I could prevent from being used on my website by programmatically enabling HTTPS on my website, which would be on the client in addition to the server.