Hi,
the best way to store a certificate in a powershell script is in an byte array. But how to get such a byte array as string from an existing certificate?
Continue reading Powershell: Define a x509 certificate in a script
Hi,
the best way to store a certificate in a powershell script is in an byte array. But how to get such a byte array as string from an existing certificate?
Continue reading Powershell: Define a x509 certificate in a script
Hi,
powershell respectively the .NET framework does not offer a method to export a X509 certificate in PEM format. The pem format is a Base64 encoded view from the raw data with a header and a footer.
An example to export the machine certificate (with Thumbprint: 1C0381278083E3CB026E46A7FF09FC4B79543D) of an computer
Continue reading Powershell: Export/Convert a X509 Certificate to pem format