X509 guide/tutorial in C#

27,535

Solution 1

You can begin here

X509Certificate MSDN Resource

The System.Security.Cryptography.X509Certificates namespace contains the common language runtime implementation of the Authenticode X.509 v.3 certificate. This certificate is signed with a private key that uniquely and positively identifies the holder of the certificate.

Solution 2

I found this C# example pretty helpful in figuring out how to generate new certificates.

Also this blog post covering the more general concepts

Other than that you'll need the platform SDK installed, which does also include several other examples (most in C++, but a couple in C# and VB too).

Solution 3

I found this particularly helpful:

Nine simple steps to enable X.509 certificates on WCF

Also, if anyone's having trouble installing the windows devlopment sdk (to get MakeCert.exe), untick the c++ options in the installer and it seems to work fine.

Share:
27,535
ppiotrowicz
Author by

ppiotrowicz

#SOreadytohelp

Updated on August 20, 2020

Comments

  • ppiotrowicz
    ppiotrowicz over 3 years

    Can anyone point me to a good introductory materials on X509 certificates with examples in C#.

  • ppiotrowicz
    ppiotrowicz over 14 years
    Thanks, I've tried that already, but it's not exactly what I'm looking for
  • Srikar Doddi
    Srikar Doddi over 14 years
    What are you looking for mainly? why are you looking at X509? Maybe I can help you if you can shed more information.