Skip to content

Instantly share code, notes, and snippets.

@chriskuech
Last active April 8, 2019 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskuech/f3426634fd672c6923ca495ff505fb48 to your computer and use it in GitHub Desktop.
Save chriskuech/f3426634fd672c6923ca495ff505fb48 to your computer and use it in GitHub Desktop.
Export PFX from Windows as Base64 string without password
##
# 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