Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I got a code for creating self signed certificates, In that while calling a function i am unable to specify the certificate name because i dont know how to give that.
VB
Public Shared Function CreateSelfSignCertificate(ByVal distinguishedName As X500DistinguishedName, ByVal startDate As DateTime, ByVal endDate As DateTime) As X509Certificate2


How to give the distinguishedName?
the name i want to give to my certificate is "alcohol" how can i accomplish this. Please help its really urgent.
Posted

1 solution

That function is not part of the .NET Framework or any library I know of.

Oh well, you can find out about X.500 (DN) here[^].

BTW: "Alcohol" is a stupid name to give to a certificate. It should be a bit more descriptive as to what that cert is being used for.
 
Share this answer
 
Comments
Rohith Gopi 5-Nov-12 3:57am    
Dave Kreskowiak

Can i get the list of certificates from windows azure without using management certificates?
Dave Kreskowiak 5-Nov-12 7:17am    
Don't know. I've never used Azure.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900