Skip to content

Instantly share code, notes, and snippets.

@dcouto
Created August 20, 2018 17:05
Show Gist options
  • Save dcouto/0c6c435111d5b0bf8a5e1de88518dfeb to your computer and use it in GitHub Desktop.
Save dcouto/0c6c435111d5b0bf8a5e1de88518dfeb to your computer and use it in GitHub Desktop.
# https://andrewwburns.com/2018/03/01/create-a-self-signed-certificate-for-development/
New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -DnsName "mysite.local" -Friend
lyName "mysite.local" -NotAfter $([datetime]::now.AddYears(5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment