Last active
August 24, 2021 21:25
-
-
Save shashank-shekhar/09c1f1604ae462ca4a522d131fba7493 to your computer and use it in GitHub Desktop.
Create self signed certificate using poweshell
This file contains 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
New-SelfSignedCertificate -Type SSLServerAuthentication -DnsName 'local.mysite.com' -CertStoreLocation 'cert:\LocalMachine\My' -KeyExportPolicy Exportable -KeyAlgorithm RSA -KeyLength 4096 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment