前提条件:

自己服务器(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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-06-12
  • 2022-12-23
  • 2021-04-08
  • 2021-05-31
  • 2021-05-16
猜你喜欢
  • 2021-05-29
  • 2021-06-20
  • 2021-11-17
  • 2021-05-25
  • 2021-12-29
  • 2021-09-21
相关资源
相似解决方案