Workflow Tools Control Yard

Home / Windows

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.

What the page checks

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

FileWhat is insideThis page
.cer, .crt, .derOne certificate, as DER bytes or as Base64 text.Reads it.
.pemBase64 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, .p7cA PKCS #7 bundle: one or more certificates, without private keys.Reads every certificate in it.
.csr, .reqA certificate request (PKCS #10): the names and the public key that a CA is asked to sign.Reads it and checks its signature.
.pfx, .p12A PKCS #12 file: a certificate together with its private key, under a password.Does not open it.
.keyA 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 identifierExtensionWhat it holds
2.5.29.19Basic ConstraintsWhether the certificate belongs to a certification authority, and how many CA levels may follow it.
2.5.29.15Key UsageWhat the key may do: sign, encrypt keys, sign certificates, sign CRLs.
2.5.29.37Extended Key UsageThe uses the certificate is meant for, from the table of uses below. Windows calls it Enhanced Key Usage.
2.5.29.17Subject Alternative NameThe names the certificate is for: DNS names, IP addresses, mail addresses, user principal names.
2.5.29.18Issuer Alternative NameMore names of the issuer.
2.5.29.14Subject Key IdentifierA short identifier of the key in this certificate.
2.5.29.35Authority Key IdentifierThe identifier of the issuer's key, which helps software find the issuer's certificate.
2.5.29.31CRL Distribution PointsWhere the issuer publishes its list of revoked certificates.
2.5.29.46Freshest CRLWhere the issuer publishes delta CRLs.
1.3.6.1.5.5.7.1.1Authority Information AccessWhere to ask the issuer's OCSP responder, and where to get the issuer's certificate.
2.5.29.32Certificate PoliciesThe policies the certificate was issued under.
2.5.29.30Name ConstraintsIn a CA certificate: the names that certificates below it may or may not carry.
2.5.29.36Policy ConstraintsIn a CA certificate: limits on policies further down the chain.
2.5.29.54Inhibit Any PolicyIn a CA certificate: how far down the chain the any-policy identifier still counts.
1.3.6.1.4.1.11129.2.4.2Certificate Transparency TimestampsSigned statements of public logs that they were given the certificate before it was issued.
1.3.6.1.5.5.7.1.24TLS FeatureA feature that a server with this certificate must offer, such as OCSP stapling.
1.3.6.1.4.1.311.20.2Certificate Template NameThe 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.7Certificate TemplateThe identifier of the template and its version, for templates of version 2 and later.
1.3.6.1.4.1.311.21.10Application PoliciesMicrosoft's own list of uses. It means what Extended Key Usage means.
1.3.6.1.4.1.311.21.1CA VersionIn 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.2Previous CA Certificate HashIn a renewed CA certificate: the SHA-1 hash of the CA certificate before it.
1.3.6.1.4.1.311.25.2Account Security IdentifierThe 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.1Netscape Certificate TypeAn old way to say what the certificate is for.
2.16.840.1.113730.1.13Netscape CommentA 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 identifierUseWhat the certificate may do
1.3.6.1.5.5.7.3.1Server AuthenticationProve to clients who a server is, as a website does over TLS.
1.3.6.1.5.5.7.3.2Client AuthenticationProve to a server who a user or a computer is.
1.3.6.1.5.5.7.3.3Code SigningSign programs and scripts.
1.3.6.1.5.5.7.3.4Secure EmailSign and encrypt mail (S/MIME).
1.3.6.1.5.5.7.3.8Time StampingSign timestamps.
1.3.6.1.5.5.7.3.9OCSP SigningSign the answers of an OCSP responder.
1.3.6.1.5.5.7.3.17IPsec IKEIdentify an IPsec endpoint during the key exchange.
2.5.29.37.0Any PurposeEvery use.
1.3.6.1.5.2.3.4PKINIT Client AuthenticationLog on to Kerberos with a certificate.
1.3.6.1.5.2.3.5KDC AuthenticationSign the answers of a Kerberos key distribution center, such as a domain controller.
1.3.6.1.4.1.311.20.2.2Smart Card LogonLog on to Windows with a smart card.
1.3.6.1.4.1.311.54.1.2Remote Desktop AuthenticationIdentify a Remote Desktop server, and nothing else.
1.3.6.1.4.1.311.10.3.4Encrypting File SystemEncrypt files with EFS.
1.3.6.1.4.1.311.10.3.4.1File RecoveryRecover files that others encrypted with EFS.
1.3.6.1.4.1.311.10.3.12Document SigningSign documents.
1.3.6.1.4.1.311.10.3.1Microsoft Trust List SigningSign certificate trust lists.
1.3.6.1.4.1.311.10.3.13Lifetime SigningA signature made with it counts only as long as the certificate is valid.
1.3.6.1.4.1.311.10.3.11Key RecoveryEncrypt and recover keys held in escrow.
1.3.6.1.4.1.311.21.6Key Recovery AgentRecover private keys that the CA has archived.
1.3.6.1.4.1.311.21.5CA Encryption CertificateEncrypt a private key on its way to the CA that archives it.
1.3.6.1.4.1.311.20.2.1Certificate Request AgentRequest certificates on behalf of other users.
1.3.6.1.4.1.311.21.19Directory Service Email ReplicationReplicate Active Directory by mail.

Policies

Object identifierPolicyWhat it says
2.23.140.1.2.1Domain validatedThe CA checked who controls the domain names and nothing about who asked.
2.23.140.1.2.2Organization validatedThe CA also checked the organization named in the subject.
2.23.140.1.2.3Individual validatedThe CA also checked the person named in the subject.
2.23.140.1.1Extended validationIssued under the Extended Validation Guidelines of the CA/Browser Forum.
2.5.29.32.0Any PolicyEvery policy.

More Windows tools