0

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?

MikroDel
  • 6,705
  • 7
  • 39
  • 74
Radislav
  • 2,892
  • 7
  • 38
  • 61

1 Answers1

1

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

Community
  • 1
  • 1
MikroDel
  • 6,705
  • 7
  • 39
  • 74