Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Core + IIS + SSL

If I would like to use https in an ASP.NET Core application running IIS as a reverse proxy, do I need to configure the SSL cert in IIS or ASP.NET Core or both?

My plan was to install the cert on IIS. Is this enough?

like image 691
Johan Nordberg Avatar asked Jun 30 '16 16:06

Johan Nordberg


2 Answers

Install cert on IIS is enough, as current implementation of IIS (ASP.NET Core Module) forwards client certificates to application anyway.

like image 123
Set Avatar answered Sep 28 '22 04:09

Set


Yes, that should be correct - IIS handles SSL, so the back plane to ASP.NET Core can be unsecured.

This post gives a good explanation of how to set it up. It applies to RC2 but should be essentially unchanged for RTM.

https://weblog.west-wind.com/posts/2016/Jun/06/Publishing-and-Running-ASPNET-Core-Applications-with-IIS

like image 27
Sock Avatar answered Sep 28 '22 03:09

Sock