C# 如何在 ASP.NET 应用程序中使用 SSL

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18445102/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-10 12:13:45  来源:igfitidea点击:

How to use SSL in ASP.NET application

c#asp.netasp.net-mvcsslssl-certificate

提问by FrozenHeart

I want to use SSL in my ASP.NET application. What should i do? I found many tutorials on the internet, but all of them, unfortunately, does not work (until then I had never worked with certificates).

我想在我的 ASP.NET 应用程序中使用 SSL。我该怎么办?我在互联网上找到了很多教程,但不幸的是,所有教程都不起作用(直到那时我从未使用过证书)。

What is the easiest way to use SSL in ASP.NET applications? I am talking about self-signed certificates, of course.

在 ASP.NET 应用程序中使用 SSL 的最简单方法是什么?当然,我说的是自签名证书。

回答by matthijsb