Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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?

share|improve this question
Radislav - was the answer helpful for you? – MikroDel Jul 17 at 7:22
And you have also 4 question in one - better post the rest as extra questions – MikroDel Jul 17 at 7:29
Radislav - why to you post the questions - and after you ingore giving any feeedack? – MikroDel Jul 18 at 6:59
Because I asked just two questions - not 4. Because I asked which certificates formats are supported - not how to install them. Do you really think that I posted questions here without any research before? – Radislav Jul 18 at 10:07
I made +1 just because you tried to answer. – Radislav Jul 18 at 10:10
show 2 more commentsadd comment (requires an account with 50 reputation)

1 Answer

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

share|improve this answer
add comment (requires an account with 50 reputation)

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.