Skip to content

Instantly share code, notes, and snippets.

@peaeater
Created April 11, 2017 23:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peaeater/3d71878a3c887bf00b1f470717e6ba7a to your computer and use it in GitHub Desktop.
Save peaeater/3d71878a3c887bf00b1f470717e6ba7a to your computer and use it in GitHub Desktop.
Creates new wildcard self-signed SSL certificate for development purposes. Needs PowerShell admin.
# Creates new self-signed certificate for testing purposes
new-selfsignedcertificate -dnsname "*.domain.local" -friendlyname "*.domain.local Development Certificate" -certstorelocation "cert:\LocalMachine\My" -notafter (get-date).AddYears(100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment