Skip to main content

SSL Certificates in PEM Format

PEM is the most common format for X.509 certificates, CSRs, and cryptographic keys.

A PEM file is a text file containing one or more items in Base64 ASCII encoding, each with plain-text headers and footers (e.g., -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----).

A single PEM file could contain an end-entity certificate, a private key, or multiple certificates forming a complete chain of trust. Most certificate files will beare in PEM format.

PEM fileFile nameName extensionsExtensions

PEM files can usuallytypically have the .crt, .pem, .cer, and .key extensions (for private keys), but you canmay also see them with different extensions. For example, the CA bundle file has the .ca-bundle extension.

ConvertConverting SSL Certificates

There are differentvarious reasons why you might want to convert your certificates to other formats. ForTo learn more informationabout on how to convertconverting SSL certificates, we encourage you to read moreour aboutin-depth itarticle inon the followingsubject, article.which provides step-by-step instructions and helpful tips for a smooth conversion process.