先去CA机构申请ssl证书 然后在iis中配置https 然后给网站配置https 也可以参考这篇文章 https://www.cnblogs.com/weihanli/p/httpsconfiguration.html