ID #1025 Generate a Self Signed SSL Certificate with Powershell ~ 0 min n/a 2021-01-31 18:33 PDF version Enter the following powershell command. This will place a certificate in the "Personal" store for the Computer. Change the AddYears variable as needed. New-SelfSignedCertificate –DnsName my.fqdn.com -NotAfter (Get-Date).AddYears(20) -CertStoreLocation "cert:\LocalMachine\My" Tags: powershell