.cer

What is a .cer file?

CER is a certificate file commonly used on Windows — may be DER-encoded (binary) or PEM-encoded (text).

Safe format
Type Security
By Microsoft / ITU-T (X.509 convention)
MIME application/x-x509-ca-cert

Drop any file to identify it

No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.

What is it

The .cer extension is Windows' preferred name for certificate files. Functionally identical to .crt, the distinction is largely a platform convention: Linux and web servers tend to use .crt, Windows tends to use .cer. The file contains the same X.509 certificate data either way.

On Windows, .cer files are DER-encoded by default (binary format). On Linux, they're more often PEM-encoded (Base64 text). Windows double-clicks open the Certificate dialog automatically, showing issuer, subject, validity, and the certificate chain. This native integration makes .cer the natural choice for Windows certificate management.

Converting between encodings: `openssl x509 -in cert.cer -inform der -out cert.pem -outform pem` converts DER to PEM. The reverse: `openssl x509 -in cert.pem -outform der -out cert.cer`. The cryptographic data is identical — only the encoding differs.

Technical details
Full Name
Certificate File (DER/PEM)
MIME Type
application/x-x509-ca-cert
Developer
Microsoft / ITU-T (X.509 convention)
Magic Bytes
N/A
Safety
.cer is a known, safe format. Certificate files are public and safe to share.
What opens it
Windows Certificate Viewer
FREE Windows
Keychain Access
FREE Mac
openssl (CLI)
FREE Windows / Mac / Linux
FAQ
What's the difference between .cer and .crt?
Mostly platform convention. Windows prefers .cer (often DER-encoded). Linux and web servers prefer .crt (often PEM-encoded). Both contain the same X.509 certificate data.
How do I install a .cer certificate on Windows?
Double-click the .cer file, click 'Install Certificate,' choose the store (Current User or Local Machine), and follow the wizard. For trusted root CAs, install to the 'Trusted Root Certification Authorities' store.
Related formats