ASP.NET Core + IIS + SSL [英] ASP.NET Core + IIS + SSL

查看:70
本文介绍了ASP.NET Core + IIS + SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想在运行IIS的ASP.NET Core应用程序中使用https作为反向代理,是否需要在IIS或ASP.NET Core或两者中配置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?

我的计划是在IIS上安装证书.这样够了吗?

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

推荐答案

是的,应该是正确的-IIS处理SSL,因此ASP.NET Core的背板可以不安全.

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

这篇文章很好地解释了如何设置它.它适用于RC2,但对于RTM基本上没有变化.

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

这篇关于ASP.NET Core + IIS + SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆