ppisarczyk
8/27/2016 - 3:51 AM

Drop binary data from the command line w/o needing PowerShell

Drop binary data from the command line w/o needing PowerShell

echo -----BEGIN CERTIFICATE----- > encoded.txt
echo Just Base64 encode your binary data
echo TVoAAA== >> encoded.txt
echo -----END CERTIFICATE----- >> encoded.txt
certutil -decode encoded.txt decoded.bin