Last active
April 8, 2019 19:55
-
-
Save chriskuech/f3426634fd672c6923ca495ff505fb48 to your computer and use it in GitHub Desktop.
Export PFX from Windows as Base64 string without password
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
## | |
# Export PFX from Windows as Base64 string without password | |
# | |
$thumbprint = "" | |
[Convert]::ToBase64String((Get-Item Cert:\CurrentUser\My\$thumbprint).Export("pkcs12")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment