Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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