PKI Toolkit
Three tools for X.509 certificates: the chain fixer builds a checked, ordered chain (fullchain.pem) from files in any order, the hierarchy view shows all certificates as a tree, the expiry timeline orders them by expiry date. Without upload, so it works for your internal CA too.
What this is for
The classic is the error message “incomplete certificate chain” or “unable to get local issuer certificate” - mostly with nginx, but just as much with Apache, HAProxy, or any other TLS endpoint. The server has a certificate, but the intermediates in between are missing or sit in the configuration file in the wrong order. The well-known online checking services answer this reliably - provided the host is publicly reachable. On an internal reverse proxy, an admin interface on your own network, or against a company-owned CA, that is exactly not the case, and this tool is built for it: everything runs in your own browser.
The same situation arises when a set of certificates arrives from a customer, a service provider, or an old archive - several PEM, CRT, or CER files, perhaps a PKCS#7 bundle or a PKCS#12 container, without it being clear which is root, which is intermediate, and which is leaf, and whether the private key belongs to the right certificate at all. That includes the confusion when two CA certificates with the same issuer name are in circulation - after a root rollover or with cross-signing - and it is unclear which of the two is actually signing.
And the question comes up of when what actually expires: in an internal PKI with a long-lived root and short-lived end-entity certificates, or when an intermediate ends earlier than the certificates it has signed. For that, next to the chain fixer, there are the hierarchy view and the expiry timeline.
How to use it
- Drag files onto the drop area in the “Files” section or choose them by click - mixed in any order:
.pem,.crt,.cer,.der,.p7b,.p7c,.csr,.key,.p12,.pfx. Detection is by content, not by file extension - a wrongly named file does not fall through. - Look at the “Certificates read in” table: file, subject, issuer, valid until, key, and status per certificate. What could not be opened is listed with the concrete reason under “Notes on the files”.
- In the “Chain Fixer” section, click “Build chain”. Every issuer-child relationship is checked cryptographically, not just recognised by name.
- If needed, tick “Include root certificate in output” - without it the chain ends at the topmost intermediate, the right choice for most server configurations.
- Save the result with “Download fullchain.pem” or take it over with “Copy to clipboard”. If the browser blocks the download, selecting the text and pressing Ctrl/Cmd+C always works.
- For the hierarchy, click “Show hierarchy” in the “Hierarchy” section. The tree does not depend on the result of the chain fixer; it is enough that certificates have been read in.
- For the expiry dates, click “Show timeline” in the “Expiry timeline” section.
What is shown
The “Files” section lists every recognised file with its outcome: understood, recognised but not opened (such as a certificate request or a PKCS#7 bundle of a different content type), or damaged - with a message that names the technical reason instead of just reporting “error”. The table below shows, per recognised certificate, subject, issuer, end of validity, key size or curve, and status (valid, expired, not yet valid).
The “Chain Fixer” section shows notes first: a missing issuer, a cycle in the chain, several possible leaf certificates in the same selection, or several certificates with the same issuer name of which only some actually sign (rotation or cross-signing). If an intermediate is missing and the existing certificate carries an AIA caIssuers URL, that address is named for fetching. At the end comes the sorted chain as a list - per entry issuer, end of validity, and key - and below it the finished fullchain.pem in a text field.
Hierarchy view
The “Hierarchy” section shows all certificates that were read in as a tree. Below an issuer are the certificates whose signature its key confirms. Only where no signature could be confirmed are they placed below the issuers for which the check was not possible - the certificate says so. If a certificate has several issuers at the same level, for example after a root rollover, it appears below each of them and carries a note on how often it occurs.
Per certificate you see the subject, the validity status (valid, expired, not yet valid), the note “self-signed (root)” for a root, and the result of the signature check against the issuer (signature verified, check failed, algorithm not checked or unknown). Below come serial number, validity window, key, and three details that restrict a PKI structure: the CA flag (basicConstraints) with pathLen, the name restrictions (Name Constraints, split into permitted and excluded), and the intended purposes (Extended Key Usage).
If the issuer is not in the set, the certificate says so: with the name of the issuer that is being looked for and, if the certificate carries an AIA caIssuers URL, with that address as text. At the end of each path it says whether, on the way from this certificate to the top, there are notes on pathLen, Name Constraints, and Extended Key Usage.
Certificates that are part of a loop or only hang below a loop appear in a section of their own, “Not reachable from any top” - individually and without path verdicts, because no path leads from there to a top. Exact duplicates appear only once.
Expiry timeline
The “Expiry timeline” section places all certificates that were read in side by side on one common time axis, sorted by expiry date: what expires first is at the top. The bar shows the validity window, the mark the reference date. Above the list are axis start, today’s date, and axis end, plus the “As of:” line with the rule for “expires soon”: a remaining lifetime of at most 30 days counts as expiring soon.
Per row you see subject, status (for example valid, expired, or “expires soon”), role (root, intermediate CA, end-entity certificate, or “Role unknown”), serial number, valid from, valid until, and the remaining lifetime in days - for an expired certificate “expired n days ago”, for one that is not yet valid “becomes valid in n days”. If a certificate lacks the basicConstraints extension, it is classified as an end-entity certificate, which is the implicit value; the row says so. A valid-until date of exactly 9999-12-31 23:59:59 UTC is shown as “no fixed expiry date”.
If the issuer of a certificate expires earlier than the certificate itself, the row carries the mark “Issuer expires earlier” and names those issuers with their expiry date, the one with the earliest date first. A path through such an issuer is usable only until that issuer expires.
What deliberately does not happen
No file leaves the browser. That is not a promise but technically enforced: the content security policy of this tool sets connect-src 'none', so outgoing connections are prevented, not merely omitted - verifiable in a few seconds in the network tab of the browser’s developer tools.
A missing AIA URL is named but not fetched by the tool - fetching it stays manual, because that would need a connection to the outside. For the same reason this tool checks no revocation lists (CRL) and no OCSP status: such a check needs an online request, and that is exactly what the CSP prevents.
From a private key, only the public part is read, to match it against the loaded certificates - the secret part is output nowhere, neither to the clipboard nor to a downloaded file. With a password-protected PKCS#12 container, no password is guessed; the only thing tried automatically is an empty password, because some export tools set that as the default.
Limits
One run processes up to 300 certificates and a maximum of 20 MB of files in total, at most 8 MB per single file. If you have more, read them in smaller groups.
The hierarchy view shows at most 1000 entries. Because a certificate with several issuers appears below each of them, the tree can grow larger than the number of files; at the limit the display stops and says how many certificates therefore do not appear. Indentation stops growing at the sixth level; the first entry placed flat (level 7) carries the note “From here on without further indentation, level 7.”
The timeline names at most 20 earlier-expiring issuers per certificate, the ones with the earliest expiry date first, and gives the number of those not listed.
For Name Constraints the tool compares only the name types dNSName and directoryName - other name types in the same extension are neither confirmed nor objected to. A distance specification (minimum/maximum) stored in the certificate for a permitted or excluded subtree is read but not evaluated; RFC 5280 requires minimum equal to 0 and no maximum here anyway.
Some encryption methods inside a PKCS#12 or PKCS#8 container are recognised and named but not decrypted - the tool then says which method is present and that it cannot be opened here, instead of staying silent. And signature blocks that a PKCS#7 bundle carries in addition to the certificates are not checked - this tool reads only the certificates from it.
Where one of these limits applies, you need either a tool with network access (revocation lists, OCSP, AIA fetching) or one that actually opens the encryption in question - for example openssl on the command line.
Where it comes from
This tool belongs to the collection “Tools for Administrators” on nexilon.de/en/tools/ - tools that run entirely in the browser, because a company CA is not something you upload to a third-party provider. It is part of what the “In-House Software” page shows: not an offer of contract development, but the evidence for the technical depth our consulting relies on. Built without upload so that it works for an internal CA, where a publicly reachable checking service is out of the question anyway.
Runs entirely in your browser
The tool itself loads nothing and sends nothing. Your data is processed in the browser and never leaves the device - verifiable in your browser's network tab.