IIS 安装 .net core 绑定为 https 使用SSL证书

前提条件:

自己服务器(Windows Server 2016)运行

dotnet .\Web****.dll

服务是可以使用http访问的

但由于实际情况必须使用https 

思想历程,但未用:

1、.net core https 

2、www.sslforfree.com

https://www.itbulu.com/ssl-for-free.html

3、IIS ARR 反向代理

安装IIS网站选择程序池选择无托管,并开启.net core 服务,都

最后自己域名的上申请的SSL证书,最后就对了

(注意:安装好后就可以了,不需要其他配置,我马上安装好不可以访问,可能是因为域名DNS解析时间差问题)

 

安装为Windows 服务这个是个好文:

https://blog.csdn.net/fengyunxuanhai/article/details/81504068

https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-2.1&tabs=aspnetcore2x

 

posted @ 2019-05-25 20:32  三瑞  阅读(2051)  评论(0编辑  收藏  举报