I am looking through a set of PKI certificates and key strings that are specified in a kubernetes yaml file. They are used for testing. Some of the strings are keyed (as in yaml key-value) as crt.pem. All of the strings have the following form:


The typical encoding that I have seen for .pem files is ASCII base64 and begins with -----BEGIN CERTIFICATE-----.

Does someone know what this encoding is?

Edit: grammar & phrasing

1 Answer 1


I would suggest that this is just base64 encoded PEM:

$ echo "-----BEGIN CERTIFICATE-----" | base64

$ echo "-----BEGIN CERTIFICATE-----" | base64 | cut -c-3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .