If you need to get PEM (Base64 text) format from DER (binary) format Certificate, then this might fix the situation:
- Open Powershell as admin and execute command:
certutil -encode “C:\path\to\cert.cer” “C:\path\to\cert.pem”
Note:
“C:\path\to\cert.cer” – the location of .cer file you have
“C:\path\to\cert.pem” – the output location for text based format
- Open converted .pem file with Notepad or Notepad++ and you will get ouput in text format
example:
—–BEGIN CERTIFICATE—–
KLS1t…
—–END CERTIFICATE—–

Leave a Reply