Created
November 19, 2019 16:59
-
-
Save levi-turner/ed56d3b602e7f7ec95a4196f26faf620 to your computer and use it in GitHub Desktop.
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
# Creates a valid certificate for data encryption which expires 1 day from current time | |
New-SelfSignedCertificate -Subject "QlikSenseDataEncrytion" ` | |
-KeyAlgorithm RSA ` | |
-KeyLength 4096 ` | |
-Provider "Microsoft Software Key Storage Provider" ` | |
-KeyExportPolicy ExportableEncrypted ` | |
-CertStoreLocation "cert:\CurrentUser\My" ` | |
-NotAfter (Get-Date).AddDays(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment