Created
April 11, 2017 23:40
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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