Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The file formats and naming convention of extensions is all over the place.

PEM (Privacy Enhanced Mail) Format

The most common format that CAs issue certificates in. The extension can be,

  • crt
  • cer
  • cert
  • pem
  • key

The file is also Base64 encoded ASCII and with general certificates contains "BEGIN CERTIFICATE" and "END CERTIFICATE". The following certificates can be stored as PEM,

...

Panel

The BonsaiFramework uses the extension format.crt for the following certificates because the extension is recognized by Windows. Double-clicking on a crt file in Windows will show details about the certificate. We use the format.crt extension for the following,

  • Server Certificates for example, www.krypton.com*.crt*
  • Intermediate Certificates for example, www.krypton.com_signed_cert.crt

By convention and because these keys do not work in Windows we use the following extensions,

  • key - Private Server Key for example, www.krypton.com.key
  • csr - Certificate Signing Requests must be decoded, www.krypton.com.csr

DER Format

The DER format is a binary form of the certificate. It is best to use the.der extension but sometimes the .cer extension is used. In that case you must open the with a text editor and look for BEGIN/END statements.

...

See what is in a cert - http://www.sslshopper.com/certificate-decoder.html

A great decoder that shows encryption and key size along with the certificate information - https://certlogik.com/decoder/