Groups | Blog | Home
all groups > dotnet web services enhancements > november 2004 >

dotnet web services enhancements : Create self-signed X.509 Certificate programmatically


Diego Barros
11/28/2004 6:08:53 PM
Hi all,

I was wondering if it was possible to programmatically create a
self-signed X.509 Certificate using the .NET framework?

After playing around with certificates for a bit, I ended up installing
the Web Service Enhancements 2 which provides support for access the
certificate store. But I have not been able to find any code/classes
which facilitate certificate creation.

For the moment I have used makecert.exe and pvkimprt.exe to create a
PVK file with a self-signed certificate, which includes a private key,
and imported that in to the store.

Any help or pointers on how I can go about doing this would be greatly
appreciated.

Regards,
Softwaremaker
11/29/2004 4:22:44 PM
Will this help ?

http://www.softwaremaker.net/blog/PermaLink,guid,9e8cff20-4bd5-46cc-bb98-7f6019a1dc46.aspx


--
Thank you.

Regards,
Softwaremaker

==================================

[quoted text, click to view]

ipsita.mohanty NO[at]SPAM gmail.com
11/30/2004 3:20:00 AM
Hi !

I am struggling since ages with the makecert problem. I have followed
the steps (of the link below) after installing platform SDK as
suggested in your link, but the moment I do the first step, I get this
error:
Error: Can't create the key of the subject ('JoeSoft')
Failed

I would be very thankful, if anyone can please let me know the answer.

Thanks
Ipsita

[quoted text, click to view]
Diego Barros
11/30/2004 2:02:50 PM
Hi all,

Thanks for taking the time to reply. I will check these out.

Cheers,
Diego

[quoted text, click to view]
Eugene Mayevski
11/30/2004 10:13:01 PM
Hello!
You wrote on Sun, 28 Nov 2004 18:08:53 -0800:

DB> I was wondering if it was possible to programmatically create a
DB> self-signed X.509 Certificate using the .NET framework?

Try PKIBlackbox
(http://www.secureblackbox.com/description-sec-pkiblackbox.html), freeware.

With best regards,
Eugene Mayevski
AddThis Social Bookmark Button