Re: adding SSL cert - WeOnlyDo Discussion board

Re: adding SSL cert (General questions)

by dirk, Friday, March 18, 2011, 22:28 (4997 days ago) @ woddrazen

Dirk,


Yes, you can add start/end date of the certificate using wodCertificate ValidFrom and ValidTo Property.

You need to do that when you generate certificate.


Drazen

Ok this seems to give me 2 years from today:
cert.GenerateKey 0 ' RSA key
cert.ValidFrom = Date
cert.ValidTo = DateAdd( yyyy , 2, Date)
cert.Generate

Thanks for the quick help


Complete thread: