Skip to content

Instantly share code, notes, and snippets.

@shashank-shekhar
Last active August 24, 2021 21:25
Show Gist options
  • Save shashank-shekhar/09c1f1604ae462ca4a522d131fba7493 to your computer and use it in GitHub Desktop.
Save shashank-shekhar/09c1f1604ae462ca4a522d131fba7493 to your computer and use it in GitHub Desktop.
Create self signed certificate using poweshell
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