Re: Example source to create/request SSL Certs (General questions)
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:
- Example source to create/request SSL Certs - Chris, 2004-10-07, 10:35
- Re: Example source to create/request SSL Certs - wodSupport, 2004-10-08, 03:19
- Re: Example source to create/request SSL Certs - chris, 2004-10-17, 21:10
- Re: Example source to create/request SSL Certs - chris, 2004-10-27, 11:21
- Re: Example source to create/request SSL Certs - chris, 2004-10-27, 14:50
- Re: Example source to create/request SSL Certs - Chris, 2004-10-27, 15:21
- Re: Example source to create/request SSL Certs - wodSupport, 2004-10-27, 15:43
- Re: Example source to create/request SSL Certs - amirsky, 2010-03-16, 09:44
- Re: Example source to create/request SSL Certs - woddrazen, 2010-03-16, 09:57
- Re: Example source to create/request SSL Certs - amirsky, 2010-03-16, 13:56
- Re: Example source to create/request SSL Certs - woddrazen, 2010-03-16, 14:33
- Re: Example source to create/request SSL Certs - amirsky, 2010-03-16, 13:56
- Re: Example source to create/request SSL Certs - woddrazen, 2010-03-16, 09:57
- Re: Example source to create/request SSL Certs - amirsky, 2010-03-16, 09:44
- Re: Example source to create/request SSL Certs - wodSupport, 2004-10-27, 15:43
- Re: Example source to create/request SSL Certs - Chris, 2004-10-27, 15:21
- Re: Example source to create/request SSL Certs - chris, 2004-10-27, 14:50
- Re: Example source to create/request SSL Certs - chris, 2004-10-27, 11:21
- Re: Example source to create/request SSL Certs - chris, 2004-10-17, 21:10
- Re: Example source to create/request SSL Certs - wodSupport, 2004-10-08, 03:19