How does certutil handle base64 encoding and decoding?
certutil provides simple commands: `CertUtil -encode InFile OutFile` for base64 encoding and `CertUtil -decode InFile OutFile` for decoding. The encoded output includes a header `-----BEGIN CERTIFICATE-----` and footer `-----END CERTIFICATE-----`. This method is useful for transferring binary files safely in scripts. For other base64 methods, see the compilation in certutil in Penetration Testing.
certutilbase64encodedecodecertificate