code snippet to generate a 10-year SSL self-signed cert, notice the NotAfter argument. Once successfully run, cert can be exported through local machine certificate MMC. New-SelfSignedCertificate command-let is available in windows 8.1 and above.
My Contribution / Reference / Spare Time
code snippet to generate a 10-year SSL self-signed cert, notice the NotAfter argument. Once successfully run, cert can be exported through local machine certificate MMC. New-SelfSignedCertificate command-let is available in windows 8.1 and above.