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 Reply

Create your own website, free on WordPress.com.Create your own website.
Start free