Exporting base64 certificates based on thumbprint from Certificate Store


Hi All,

Below is the PowerShell code to extract the base64 certificates based on thumbprint

cd Cert:\CurrentUser\my

$Cert = Get-ChildItem | where{ $_.Thumbprint -eq "thumbprint" }

$out = New-Object String[] -ArgumentList 3

$OutputFile = "C:\Work\Base64Certificate.CER"

$out[0] = "

Leave a comment

Design a site like this with WordPress.com
Get started