Can I create my own digital certificate in C# or Windows?
I'm working on C# win app about digital signature..
I knew how to import and export both the private and public key using "x509certificate2" class in C# (I'm exporting private key in PFX type is that right ?)
The problem is 开发者_StackOverflowhow to create a digital certificate?
How to obtain one?
I think this is what you are looking for:
- How to: Obtain an X.509 Certificate
- Makecert.exe (Certificate Creation Tool)
I prefer a tool written by the guys over at plural sight. It allows you to make a cert and store it directly into the windows key store of your choice or a pfx file. It is all GUI based and a lot easier to work with then make cert.
http://blog.pluralsight.com/selfcert-create-a-self-signed-certificate-interactively-gui-or-programmatically-in-net
精彩评论