PEM Privacy Enhanced Mail - PEM - is an encoding method for converting binary data to a ASCII text string consisting of a header followed by base-64 data and a footer. A PEM certificate file is a base-64 encoding of a DER certificate.