← Back to DAGDA | Support | Source: https://github.com/JuanTorchia/X-509-Certificate-Viewer
Skip to content

About

JetBrains IDE plugin for inspecting X.509 certificates and Java keystores inside IntelliJ-based IDEs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

CertView X.509

JetBrains Plugin JetBrains Downloads Build Security & Quality UI Integration License GitHub stars

Inspect X.509 certificates and Java keystores inside IntelliJ without leaving the IDE. This plugin is part of Juan Torchia's public engineering lab around secure systems, digital trust, PKI workflows, and developer tooling that stays close to real production inputs.

Install from JetBrains Marketplace · Star the repo · Report an issue · Contribute · Wiki · Roadmap discussion · juanchi.dev

Why This Exists

Certificate-heavy Java projects often force developers to leave the IDE for terminal glue: openssl, keytool, temporary dumps, copied passwords, and half-remembered commands. CertView X.509 keeps the inspection loop inside JetBrains IDEs while staying explicit about what it does and does not do.

Use it when you need to quickly inspect:

  • local PEM, DER, CRT, and CER certificate files
  • PKCS#12 keystores used by Java services and integrations
  • JKS and JCEKS keystores in legacy or enterprise Java systems
  • subject, issuer, serial number, validity dates, and common certificate data
  • certificate files during secure backend, PKI, identity, and signing work

This is an inspection tool. It is not a certificate authority validator, WebPKI policy engine, revocation checker, or replacement for organizational PKI review.

Marketplace

The plugin is published on JetBrains Marketplace:

Product What it does Live signal
CertView X.509 Inspect X.509 certificates and Java keystores inside IntelliJ-based IDEs. version downloads

Product page, guides and the VS Code edition: gmmhub.net/products/certview-jetbrains. Using VS Code instead? See CertView for VS Code.

Screenshots

A PEM certificate opened in the CertView X.509 editor tab:

PEM certificate in the CertView X.509 editor

A password-protected PKCS#12 keystore showing the leaf and issuer certificates:

PKCS#12 keystore in the CertView X.509 editor

Open a certificate, then a keystore with its password prompt:

CertView X.509 demo

All images are generated from throwaway demo certificates and keystores (see Marketplace Screenshots), never from real customer material or a maintainer's personal IDE.

Supported Formats

Current IntelliJ file associations:

Extension Format
.pem PEM certificate
.crt, .cer PEM or DER certificate
.der DER certificate
.p12, .pfx PKCS#12 keystore
.jks, .jceks Java keystore

.pem, .crt and .cer files are text files: they open in the certificate viewer with a Text tab next to it, so you can edit them and Find in Files searches their content. The viewer re-reads unsaved edits when you switch back to it. DER and keystore files open in the viewer only.

Input size limits:

Input type Maximum size
PEM, DER, CRT, CER certificate files 1 MiB
PKCS#12, JKS, JCEKS keystores 10 MiB

Oversized files are refused before parsing to keep the IDE responsive.

PEM Bundle Review

A .pem, .crt or .cer file with several PEM blocks, or a certificate and private key pair, is reviewed offline. Findings show as highlights in the Text tab (and in the Problems tool window) and as a PEM bundle review banner in the certificate viewer:

Check Severity
The private key does not match the leaf certificate (their public keys, SPKI, differ). Servers reject this pair with "key values mismatch". Error
The private key is encrypted, so it cannot be checked. CertView never asks for key passwords. Info
The chain is out of order: each certificate must be followed by the one that signed it (leaf → intermediates → root). Warning
The issuer of the leaf is not in the file and the leaf is not self-signed, so an intermediate is probably missing. Info
  • Reorder certificate chain (Alt+Enter in the Text tab, or Reorder chain in the banner) moves the certificate blocks into leaf → intermediates → root order. The PEM blocks are not changed, text above a certificate (such as openssl s_client -showcerts headers) moves with it, and private key blocks stay where they are.
  • A file with only certificates is checked against a private key in a sibling .key file with the same name (server.crt ↔ server.key), and a file with only a key against a sibling .crt, .pem or .cer.
  • A leaf plus intermediate without the root (a normal fullchain.pem) is not reported: clients get the root from their trust store.
  • RSA, EC, Ed25519 and Ed448 keys are supported in PKCS#8 (PRIVATE KEY), PKCS#1 (RSA PRIVATE KEY) and SEC1 (EC PRIVATE KEY) form.
  • Turn the review off in Settings | Editor | Inspections | CertView | PEM bundle review; this also hides the banner.

The review never downloads missing certificates, checks revocation or decrypts keys, and private key material never appears in its messages.

IntelliJ Usage

  1. Install the plugin from JetBrains Marketplace.
  2. Open a supported certificate or keystore file from the Project view.
  3. The custom certificate viewer opens instead of the default editor.
  4. Password-protected keystores prompt for a password in the IDE.
  5. Certificate metadata and validity information are shown in the viewer.

Project Status

This repository is the IntelliJ Platform implementation of the viewer. The current focus is hardening parser behavior, improving real fixtures and tests, polishing Marketplace metadata, and keeping the contributor workflow simple.

Active work is tracked in:

Build From Source

Requirements:

  • JDK 21
  • IntelliJ Platform Gradle Plugin 2.x
  • Gradle 9.x through the included wrapper
  • IntelliJ Platform 2026.1.x as the lowest build target

Published builds declare support from IntelliJ Platform 2026.1 onward without an artificial upper cap. CI guards the generated descriptor and Plugin Verifier checks IntelliJ IDEA Ultimate 2026.1.4 and 2026.2.2. Keeping the build target on the lowest supported platform preserves compatibility across the Java 21 to Java 25 IDE runtime transition.

Build:

./gradlew build

On Windows, prefer the repo-local environment script so Gradle uses JDK 21:

.\scripts\dev-env.ps1 .\gradlew.bat build --no-daemon

Full functional validation, including parser tests, IntelliJ UI integration, and plugin build:

.\scripts\dev-env.ps1 .\gradlew.bat validateFunctional --no-daemon

The plugin ZIP is generated under:

build/distributions/

Full Windows setup is documented in docs/DEVELOPMENT_WINDOWS.md.

Repository Layout

Path Purpose
src/main/kotlin/ IntelliJ Platform plugin source code.
src/test/kotlin/ Parser and plugin tests.
src/main/resources/META-INF/plugin.xml JetBrains plugin metadata and extension registrations.
build.gradle.kts Gradle build for the plugin.
.github/workflows/ CI, security, quality, and release workflows.
.github/dependabot.yml Daily dependency update automation for Gradle and GitHub Actions.
docs/ Development, roadmap, and dependency health notes.

Security And Quality

This project handles security-adjacent files, so maintenance is intentionally conservative:

  • Dependabot checks Gradle and GitHub Actions dependencies daily.
  • Dependency Review blocks high-severity dependency findings in PRs.
  • CodeQL analyzes Java/Kotlin code.
  • Gradle build, tests, and the 2026.1/2026.2 Plugin Verifier matrix run in CI.
  • The generated Marketplace descriptor is checked for an accidental upper compatibility cap, and Plugin Verifier covers the supported 2026.1/2026.2 range.
  • Merging to main does not publish to JetBrains Marketplace; releases follow the explicit release policy.
  • UI Integration runs the full validateFunctional gate as an experimental, non-blocking signal while the IntelliJ sandbox test is stabilized.
  • Certificate and keystore inputs have explicit size limits and oversized files are rejected before parser work starts.
  • Secret scanning and push protection are expected at the repository level; GitGuardian may also appear as an external app check when enabled by the repository owner.
  • Real private keys, customer certificates, keystores, signing credentials, and Marketplace tokens must never be committed.

Security-sensitive findings should be reported privately. See SECURITY.md.

Contributing

Contributions are welcome when they are scoped, testable, and clear about the certificate formats affected. Good first contributions include:

  • generated certificate fixtures for parser tests
  • malformed input test cases
  • clearer parser error states
  • UI polish with before/after screenshots
  • Marketplace and documentation improvements
  • compatibility checks for newer JetBrains IDE builds

Current contributor entry points:

Start with CONTRIBUTING.md and look for good first issue or help wanted.

Author

Built by Juan Torchia, a Software Architect focused on secure enterprise systems, digital trust, PKI/X.509 tooling, digital signature workflows, and AI-assisted engineering.

License

This project is licensed under the Apache License 2.0.

About

JetBrains IDE plugin for inspecting X.509 certificates and Java keystores inside IntelliJ-based IDEs.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages