Generate a Self Signed SSL Certificate with Powershell

~ 0 min
2021-01-31 18:33

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"
Average rating 0 (0 Votes)

You cannot comment on this entry