如何在我的网站上使用SSL(HTTPS)? [英] How to use SSL on my website (HTTPS)?
本文介绍了如何在我的网站上使用SSL(HTTPS)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想在https.Iny中使用我的网站如何实现这一点将有所帮助
Hi
I want to use my website in https.Any info on how to achieve this will be helpful
推荐答案
这确实相当简单,但是您需要遵循几个步骤。
您需要获取(或创建)证书,添加 secureWebPages 到web.config
在web.config的 secureWebPages 部分指定要使用SSL保护的文件
。
参见:
- [SO Q& A] < a href =http://stackoverflow.com/questions/539732/how-to-use-https-in-an-asp-net-application>如何在ASP.Net应用程序中使用HTTPS(请参阅第一个回复和其他人一样) [ ^ ]
- [CP文章] 在HTT之间切换P和HTTPS自动:版本2 [ ^ ]
- [MSDN文章] 构建安全的ASP.NET应用程序:身份验证,授权和安全通信 [ ^ ]
干杯,
Edo
It is indeed fairly easy, however there are a couple of steps you need to follow.
You will need to obtain (or create) a certificate, add secureWebPages to theweb.config
specify the files to protect with SSL in the secureWebPages part of theweb.config
.
See:
- [SO Q&A] How to use HTTPS in an ASP.Net Application (See first reply as well as others)[^]
- [CP Article] Switching Between HTTP and HTTPS Automatically: Version 2[^]
- [MSDN Article] Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication[^]
Cheers,
Edo
这篇关于如何在我的网站上使用SSL(HTTPS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文