如何在我的asp.net网站上添加HTTPS以进行帐户登录? [英] How do I add HTTPS to my asp.net website for account login?

查看:122
本文介绍了如何在我的asp.net网站上添加HTTPS以进行帐户登录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Forms身份验证的ASP.NET MVC 3 Web应用程序。为帐户登录启用https需要采取哪些基本步骤?我在Windows Server 2008 R2上使用IIS 7.5

I have an ASP.NET MVC 3 web application using Forms Authentication. What are the basic steps I need to take to enable https for account logins? I'm using IIS 7.5 on Windows Server 2008 R2

推荐答案

您需要做的就是获取证书并在IIS中安装,将您的主机绑定到端口443,您应该很高兴。您的应用应按原样运行。

All you need to do is get a certificate and install it in IIS, bind your host to port 443 and you should be good to go. Your app should run as-is on there.

http:// Startssl。 com 具有非常好用的免费证书,并且在所有浏览器中都可以识别。

http://Startssl.com has free certificates that work very nicely and are recognized in all browsers.

良好的资源这里

这篇关于如何在我的asp.net网站上添加HTTPS以进行帐户登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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