简体   繁体   English

我可以在IIS7上使用哪些SSL证书?

[英]Which SSL certificates can I use on IIS7?

I need to upload SSL certificates to server from .NET code. 我需要将SSL证书从.NET代码上传到服务器。

I want to create validation on server side to check if certificate has valid format. 我想在服务器端创建验证以检查证书是否具有有效格式。

Does anybody know which formats are supported by IIS (.pfx, .cer, .crt etc)? 有人知道IIS支持哪些格式(.pfx,.cer,.crt等)吗?

Also I found two classes to work with certificates X509Certificate and X509Certificate2 . 另外,我发现两个类可用于证书X509CertificateX509Certificate2 Which of them should I use? 我应该使用哪个?

Here is the tutorial to your question: Installing an SSL Certificate in Microsoft IIS 7 这是您的问题的教程: 在Microsoft IIS 7中安装SSL证书

and also maybe interesting: Generating a Certificate Signing Request (CSR) - Microsoft IIS7 也许还很有趣: 生成证书签名请求(CSR)-Microsoft IIS7

To answer you question about X509Certificate and X509Certificate2 take a look at this SO answer 要回答有关X509CertificateX509Certificate2问题,请看一下此答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我不能在iis7开办公室 - i can't open office in iis7 Owin CookieDomain IIS7和SSL - Owin CookieDomain IIS7 and SSL 如何从C#代码或在运行IIS的服务器上使用Powershell生成IIS7 CSR(用于SSL) - How to generate IIS7 CSR (for SSL) from C# code or using Powershell on server which IIS is running 有没有一种方法可以使用FtpWebRequest通过C#中的客户端证书对FTP进行身份验证,该证书也可以在iis上使用? - Is there a way to use FtpWebRequest to authenticate to FTP using client certificates in C# which can work from iis also? 如何增加在IIS7中运行的Web服务的超时时间? - How can I increase the timeout for web service running in IIS7? 如何在C#中将SSL证书与HttpWebRequest一起使用? - How do I use SSL certificates with HttpWebRequest in C#? 如何找出 iis7 的 404 错误处理程序中缺少哪个请求路径? - How do I find out which request path is missing in a 404 error handler in iis7? IIS7找不到作为注册Cassini的COM对象,我还能缺少什么吗? - IIS7 can't find COM Object as registered Cassini can what am I missing? 在哪里可以学习如何将ASP.NET 4 MVC 2应用程序部署到IIS7? - Where can I learn how to deploy ASP.NET 4 MVC 2 applications to IIS7? 如何在ASP.NET缓存应用程序中超过IIS7的60%内存限制 - How can I exceed the 60% Memory Limit of IIS7 in ASP.NET Caching application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM