Re: Example source to create/request SSL Certs - WeOnlyDo Discussion board

Re: Example source to create/request SSL Certs (General questions)

by wodSupport, Friday, October 08, 2004, 03:19 (7351 days ago) @ Chris

Chris,

you can use code like this:

[code] Dim cert As New Certificate

cert.GenerateKey 0
cert.CommonName = www.weonlydo.com
cert.Country = US
cert.Email = test@weonlydo.com
cert.ValidFrom = Now
cert.ValidTo = Now + 365
cert.Generate

cert.SaveKey App.Path & cert.key
cert.Save App.Path & cert.cer
[/code]

to generate request instead, use
[code]cert.Request app.Path & cert.req [/code]

Does this help?


Complete thread: