Certificate Utility is a VS Code extension for inspecting certificate artifacts without leaving the editor. It provides certificate inspection and validation tools, dedicated conversion and keystore workflows, and an expiry scanner.
Run Certificate Utility: Open Certificate Tools from the Command Palette.
- Inspect pasted PEM content or explicit certificate files. The command surface also supports inspecting the active editor directly.
- Classify X.509 certificates, certificate bundles, CSRs, private keys, PKCS#7 files, PKCS#12 files, and JKS keystores.
- Decode structured certificate details including subject, issuer, SANs, fingerprints, signature algorithm, public key metadata, key usage, EKU hints, and authority information.
- Validate validity windows, hostname matching, self-signed status, CA vs leaf usage, and optional trust verification through OpenSSL.
- Analyze certificate chains and highlight likely leaf, intermediate, and root entries, duplicate serials, and missing issuers.
- Fetch and inspect remote TLS certificate chains using OpenSSL
s_clientwhen available. - Open the
Infobutton at the bottom of each tool section to view inline usage guidance, then click it again to collapse the details.
Run Certificate Utility: Open Certificate Conversion & Keystore from the Command Palette.
- Build OpenSSL commands for PEM to DER and DER to PEM conversion from explicit file paths.
- Inspect PKCS#7 and PKCS#12 bundles when OpenSSL is available.
- Inspect CSR files.
- Generate OpenSSL command instructions for PKCS#12 export from a certificate and private key.
- Generate Java
keytoolcommands for JKS alias export and JKS to PKCS#12 conversion. - Generate PEM certificate and private-key export commands for JKS, PFX, and PKCS#12 files.
Run Certificate Utility: Open Certificate Expiry Checker from the Command Palette.
- Select a folder and scan recursively for certificate files.
- Sort certificates by expiration date.
- Filter the result table by all, expiring soon, expired, and valid certificates.
- Toggle optional columns for certificate type, format, and valid-from date.
The expiry scanner parses certificate files that Node.js can read as X.509 certificates:
.crt.cer.cert.pem.der.ca-bundle.ca.bundle
The certificate tools workbench also classifies and guides workflows for:
.p12.pfx.p7b.p7c.p7s.csr.key.jks
certificateUtil.openCertificateTools: Open Certificate ToolscertificateUtil.openCertificateOperations: Open Certificate Conversion & KeystorecertificateUtil.inspectActiveCertificate: Inspect Active CertificatecertificateUtil.inspectCertificateFile: Inspect Certificate FilecertificateUtil.inspectRemoteCertificate: Inspect Remote CertificatecertificateUtil.openInspectTool: Open Inspect ToolcertificateUtil.openValidateTool: Open Validate ToolcertificateUtil.openChainTool: Open Chain ToolcertificateUtil.openConvertTool: Open Convert ToolcertificateUtil.openKeystoreTool: Open Keystore ToolcertificateUtil.openRemoteTool: Open Remote ToolcertificateUtil.openExpiryChecker: Open Certificate Expiry Checker
- VS Code 1.105.0 or newer.
- Java
keytoolis required only when you run or generate JKS-specific actions. - OpenSSL is required only for external-tool workflows such as PKCS#7 or PKCS#12 inspection, trust verification, and remote TLS inspection.
npm ci
npm run lint
npm run compile
npm run compile-tests
npm test
npm run package:vsixCertificate parsing runs inside the local or remote VS Code extension host. The extension does not upload certificate contents, private keys, or scan results. Remote inspection only makes the outbound TLS connection explicitly requested by the user, and OpenSSL/keytool operations run on the extension host machine.