.DER file extension
To open .DER files on Windows, install OpenSSL (from a trusted source used in your environment).
To open a .der file, treat it as a binary X.509 certificate and inspect it with OpenSSL (for example, using the x509 command with DER input). If you need it for apps that expect PEM text, convert the DER file to PEM first.
Last updated: June 12, 2026
Open on your device
Choose your operating system for a dedicated step-by-step opening guide.
How to open .DER files
Use these platform-specific instructions to open .DER files safely.
Windows
- Install OpenSSL (from a trusted source used in your environment).
- Open Command Prompt or PowerShell and run: openssl x509 -in yourcert.der -inform DER -text -noout
Mac
- Open Terminal.
- Run: openssl x509 -in yourcert.der -inform DER -text -noout
Linux
- Open a terminal.
- Run: openssl x509 -in yourcert.der -inform DER -text -noout
iOS
- There is no standard iOS built-in viewer for inspecting DER certificate fields; transfer the file to a desktop and inspect it with OpenSSL.
Android
- There is no standard Android built-in viewer for inspecting DER certificate fields; transfer the file to a desktop and inspect it with OpenSSL.
Security notes
- .der certificate files typically contain public certificate data, not executable content, but they can still be used in trust decisions; only install/import certificates from sources you trust.
- Be cautious about adding a certificate from a .der file to a trusted store: a malicious or incorrectly issued certificate could enable interception or impersonation if trusted.
- DER is a binary encoding; prefer well-maintained tooling (such as OpenSSL) to parse it rather than unknown viewers, because malformed ASN.1/DER inputs can trigger parser bugs in some software.
If you did not expect this file
This extension is usually plain data, text, or structured content—not a program by itself. The practical risk is social engineering (a scam attachment or misleading filename). For trusted senders you rarely need heavy-handed antivirus wording; use these tools when you want an extra check on unexpected downloads.
Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.
NortonNorton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
Can't open this file?
These are the most common causes and fixes when .DER files fail to open.
Common reasons
- OpenSSL says it cannot read the certificate (wrong format)
- The system/app expects PEM but you only have DER
- File extension confusion (.der vs .cer) and certificate import problems
Fix steps
- Try reading it as DER explicitly: openssl x509 -in file.der -inform DER -text -noout
- If that fails and the file looks like text with BEGIN/END lines, try PEM: openssl x509 -in file.der -inform PEM -text -noout
OS-specific troubleshooting
What is a .DER file?
.der commonly refers to Distinguished Encoding Rules (DER), a binary encoding for ASN.1 structures used by X.509 certificates and related PKI objects. X.509 certificates can be stored as DER (binary) or as PEM, which is Base64-encoded DER. Many .der files therefore represent a single X.509 certificate encoded in DER.
Background
DER is a strict binary encoding of ASN.1 data and is widely used in public key infrastructure (PKI). The Internet X.509 PKI certificate profile is specified in RFC 5280 and relies on ASN.1 structures that are commonly encoded using DER.
In practice, a .der file is often interchangeable (in meaning) with files ending in .cer for certificates, with the key difference being the encoding: .der is typically binary DER, while PEM is a text form that wraps Base64-encoded DER. This is why many tools and guides describe PEM as “Base64-encoded DER” for X.509 objects.
Because DER is binary, it is not meant to be read in a text editor. Users typically open .der files to inspect certificate fields (subject, issuer, validity, extensions) or to convert them into PEM for use by servers, libraries, or configuration systems that expect PEM input.
Common MIME types: application/pkix-cert
Known aliases: .cer
Further reading
Authoritative resources for more details on the .DER format.
Common .DER issues
OpenSSL says it cannot read the certificate (wrong format)
This often happens when the file is PEM (Base64 text) but you told the tool it is DER, or when the file is not an X.509 certificate at all.
- Try reading it as DER explicitly: openssl x509 -in file.der -inform DER -text -noout
- If that fails and the file looks like text with BEGIN/END lines, try PEM: openssl x509 -in file.der -inform PEM -text -noout
The system/app expects PEM but you only have DER
Many configurations and libraries accept PEM text files, while .der is binary. PEM is Base64-encoded DER, so you can convert between them.
- Convert DER to PEM: openssl x509 -in cert.der -inform DER -out cert.pem -outform PEM
- Use the resulting .pem file where the software expects PEM
File extension confusion (.der vs .cer) and certificate import problems
Some environments treat .cer as either DER or PEM depending on content, while .der strongly implies binary DER. Import failures often come from using the wrong encoding for the import tool.
- Inspect the file with OpenSSL using the correct input type (DER vs PEM) to confirm what it contains
- If needed, convert to PEM or keep as DER depending on what the target importer expects
FAQ
Is a .der file the same as a .pem file?
They usually represent the same kind of X.509 certificate data, but .der is binary DER encoding, while PEM is Base64-encoded DER in a text format.
What MIME type is used for DER-encoded X.509 certificates?
A commonly used registered media type for X.509 certificates is application/pkix-cert.
How do I view the certificate details inside a .der file?
Use OpenSSL: openssl x509 -in file.der -inform DER -text -noout
Why does my tool say “unable to load certificate” for a .der file?
Most often the tool is trying the wrong encoding (PEM vs DER) or the file is not an X.509 certificate. Verify by reading it with OpenSSL using -inform DER, and if the file is PEM text, use -inform PEM instead.
Similar file extensions
Compare related formats in the same category to find the right tool faster.
- .pfx - Personal Information Exchange (PFX)
- .pem - PEM-encoded Certificate
- .p12 - PKCS#12 Certificate Bundle
- .csr - PKCS #10 Certificate Signing Request
- .p7b - PKCS #7 Certificate Bundle (P7B)
- .ac - X.509 Attribute Certificate
- .p7s - PKCS #7 / S/MIME Digital Signature (detached signature)
- .p7c - PKCS #7 / CMS certificate container (certs-only SignedData)