Certificate decoder
Paste a certificate or open a certificate file, and read who it is for, who issued it, when it ends and what it may be used for. The page also reads chains, .p7b bundles and certificate requests. It reads them in your browser and sends nothing. Leave private keys out.
Does it cover a host name?
What the page checks
- The dates: whether today lies between them, by the clock of your computer, and how many days are left.
- The signature, when the issuer's certificate is in the box as well: your browser checks it with the issuer's key. A self-signed certificate is checked with its own key, and a certificate request with the key it carries.
- The names: a certificate for a website needs them in the subject alternative name extension, and a
*stands for one whole label. - Signatures made with SHA-1 or MD5, and RSA keys of fewer than 2,048 bits.
- Critical extensions that the page does not know, and extensions that are there twice.
The page does not say whether a certificate is trusted or revoked. Trust depends on the root certificates of the computer that meets the certificate, and revocation is known only to the issuer's CRL and OCSP service, which this page does not contact.
Which file holds what
| File | What is inside | This page |
|---|---|---|
.cer, .crt, .der | One certificate, as DER bytes or as Base64 text. | Reads it. |
.pem | Base64 text between BEGIN and END lines. It can hold several certificates, and sometimes a private key. | Reads the certificates and leaves a private key unread. |
.p7b, .p7c | A PKCS #7 bundle: one or more certificates, without private keys. | Reads every certificate in it. |
.csr, .req | A certificate request (PKCS #10): the names and the public key that a CA is asked to sign. | Reads it and checks its signature. |
.pfx, .p12 | A PKCS #12 file: a certificate together with its private key, under a password. | Does not open it. |
.key | A private key. | Does not read it. |
To get a certificate out of the Windows certificate store without its private key, export it alone. In PowerShell, with the thumbprint of the certificate:
$cert = Get-Item Cert:\LocalMachine\My\<thumbprint>
Export-Certificate -Cert $cert -FilePath C:\Temp\server.cer
Extensions the page names
An extension is known by its object identifier. The page shows the name from this table, and what it could read of the value.
| Object identifier | Extension | What it holds |
|---|---|---|
2.5.29.19 | Basic Constraints | Whether the certificate belongs to a certification authority, and how many CA levels may follow it. |
2.5.29.15 | Key Usage | What the key may do: sign, encrypt keys, sign certificates, sign CRLs. |
2.5.29.37 | Extended Key Usage | The uses the certificate is meant for, from the table of uses below. Windows calls it Enhanced Key Usage. |
2.5.29.17 | Subject Alternative Name | The names the certificate is for: DNS names, IP addresses, mail addresses, user principal names. |
2.5.29.18 | Issuer Alternative Name | More names of the issuer. |
2.5.29.14 | Subject Key Identifier | A short identifier of the key in this certificate. |
2.5.29.35 | Authority Key Identifier | The identifier of the issuer's key, which helps software find the issuer's certificate. |
2.5.29.31 | CRL Distribution Points | Where the issuer publishes its list of revoked certificates. |
2.5.29.46 | Freshest CRL | Where the issuer publishes delta CRLs. |
1.3.6.1.5.5.7.1.1 | Authority Information Access | Where to ask the issuer's OCSP responder, and where to get the issuer's certificate. |
2.5.29.32 | Certificate Policies | The policies the certificate was issued under. |
2.5.29.30 | Name Constraints | In a CA certificate: the names that certificates below it may or may not carry. |
2.5.29.36 | Policy Constraints | In a CA certificate: limits on policies further down the chain. |
2.5.29.54 | Inhibit Any Policy | In a CA certificate: how far down the chain the any-policy identifier still counts. |
1.3.6.1.4.1.11129.2.4.2 | Certificate Transparency Timestamps | Signed statements of public logs that they were given the certificate before it was issued. |
1.3.6.1.5.5.7.1.24 | TLS Feature | A feature that a server with this certificate must offer, such as OCSP stapling. |
1.3.6.1.4.1.311.20.2 | Certificate Template Name | The name of the version 1 template of Active Directory Certificate Services that the certificate was issued from. |
1.3.6.1.4.1.311.21.7 | Certificate Template | The identifier of the template and its version, for templates of version 2 and later. |
1.3.6.1.4.1.311.21.10 | Application Policies | Microsoft's own list of uses. It means what Extended Key Usage means. |
1.3.6.1.4.1.311.21.1 | CA Version | In a CA certificate from Certificate Services: which renewal of the CA certificate this is, and which of its keys it uses. Both count from 0. |
1.3.6.1.4.1.311.21.2 | Previous CA Certificate Hash | In a renewed CA certificate: the SHA-1 hash of the CA certificate before it. |
1.3.6.1.4.1.311.25.2 | Account Security Identifier | The SID of the user or computer account. Certificate Services adds it so that a domain controller can map the certificate to the account in a strong way (KB5014754). |
2.16.840.1.113730.1.1 | Netscape Certificate Type | An old way to say what the certificate is for. |
2.16.840.1.113730.1.13 | Netscape Comment | A comment as free text. |
Uses
The identifiers in Extended Key Usage and in Application Policies. A certificate with no such extension is not limited to any use.
| Object identifier | Use | What the certificate may do |
|---|---|---|
1.3.6.1.5.5.7.3.1 | Server Authentication | Prove to clients who a server is, as a website does over TLS. |
1.3.6.1.5.5.7.3.2 | Client Authentication | Prove to a server who a user or a computer is. |
1.3.6.1.5.5.7.3.3 | Code Signing | Sign programs and scripts. |
1.3.6.1.5.5.7.3.4 | Secure Email | Sign and encrypt mail (S/MIME). |
1.3.6.1.5.5.7.3.8 | Time Stamping | Sign timestamps. |
1.3.6.1.5.5.7.3.9 | OCSP Signing | Sign the answers of an OCSP responder. |
1.3.6.1.5.5.7.3.17 | IPsec IKE | Identify an IPsec endpoint during the key exchange. |
2.5.29.37.0 | Any Purpose | Every use. |
1.3.6.1.5.2.3.4 | PKINIT Client Authentication | Log on to Kerberos with a certificate. |
1.3.6.1.5.2.3.5 | KDC Authentication | Sign the answers of a Kerberos key distribution center, such as a domain controller. |
1.3.6.1.4.1.311.20.2.2 | Smart Card Logon | Log on to Windows with a smart card. |
1.3.6.1.4.1.311.54.1.2 | Remote Desktop Authentication | Identify a Remote Desktop server, and nothing else. |
1.3.6.1.4.1.311.10.3.4 | Encrypting File System | Encrypt files with EFS. |
1.3.6.1.4.1.311.10.3.4.1 | File Recovery | Recover files that others encrypted with EFS. |
1.3.6.1.4.1.311.10.3.12 | Document Signing | Sign documents. |
1.3.6.1.4.1.311.10.3.1 | Microsoft Trust List Signing | Sign certificate trust lists. |
1.3.6.1.4.1.311.10.3.13 | Lifetime Signing | A signature made with it counts only as long as the certificate is valid. |
1.3.6.1.4.1.311.10.3.11 | Key Recovery | Encrypt and recover keys held in escrow. |
1.3.6.1.4.1.311.21.6 | Key Recovery Agent | Recover private keys that the CA has archived. |
1.3.6.1.4.1.311.21.5 | CA Encryption Certificate | Encrypt a private key on its way to the CA that archives it. |
1.3.6.1.4.1.311.20.2.1 | Certificate Request Agent | Request certificates on behalf of other users. |
1.3.6.1.4.1.311.21.19 | Directory Service Email Replication | Replicate Active Directory by mail. |
Policies
| Object identifier | Policy | What it says |
|---|---|---|
2.23.140.1.2.1 | Domain validated | The CA checked who controls the domain names and nothing about who asked. |
2.23.140.1.2.2 | Organization validated | The CA also checked the organization named in the subject. |
2.23.140.1.2.3 | Individual validated | The CA also checked the person named in the subject. |
2.23.140.1.1 | Extended validation | Issued under the Extended Validation Guidelines of the CA/Browser Forum. |
2.5.29.32.0 | Any Policy | Every policy. |
More Windows tools
-
Windows error code lookup
Look up 0x80070005, 0xC000006D, 1603 or any other system error, HRESULT, NTSTATUS or bug check code.
-
Robocopy command builder
Build a robocopy command line, paste one to see what each switch does, and decode its exit codes.
-
Msiexec silent install builder
Build install, uninstall and repair commands and look up MSI exit codes.
-
PowerShell EncodedCommand decoder
Read the script inside an encoded PowerShell command, layer by layer, or encode one.
-
.reg file value decoder
hex(2), hex(7), hex(b) and dword values of a .reg file as text and numbers, and a value written as .reg lines.
-
Access mask decoder
Read an access mask such as 0x1200A9 or -1610612736 as file, registry or Active Directory rights.
-
icacls explainer and command builder
Read icacls output such as (OI)(CI)(RX) in plain words, or build commands to grant, deny and remove rights.
-
KMS client keys and slmgr commands
Get the KMS client setup key (GVLK) of a Windows or Windows Server edition and the slmgr commands to activate it.
-
File hash checker
Work out the SHA-256, SHA-1, SHA-512 or MD5 hash of a file in your browser and compare it with the publisher's.
-
File type from its first bytes
What a file is by its first bytes, not its name: PDF, ZIP, Office, EXE or DLL with its CPU and bitness.
-
Zone.Identifier reader
The Mark of the Web on a downloaded file: its zone and address, and the commands that show and remove it.
-
Windows and IANA time zone names
Eastern Standard Time to America/New_York or America/Toronto and back, with tzutil, PowerShell and timedatectl.