简体   繁体   中英

Which SSL certificates can I use on IIS7?

I need to upload SSL certificates to server from .NET code.

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)?

Also I found two classes to work with certificates X509Certificate and X509Certificate2 . Which of them should I use?

Here is the tutorial to your question: Installing an SSL Certificate in Microsoft IIS 7

and also maybe interesting: Generating a Certificate Signing Request (CSR) - Microsoft IIS7

To answer you question about X509Certificate and X509Certificate2 take a look at this SO answer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM