y509 is a terminal user interface for inspecting and validating X.509 certificate chains.
It reads certificates from files or standard input, retrieves chains from network services, and separates trust failures from errors in how a server presents its chain. It also provides script-friendly validation and JSON output.
This is free and open source software.
Key Features
- Reads certificate chains from PEM and DER files or standard input.
- Connects to TLS servers and preserves the chain exactly as presented.
- Supports separate connection addresses, SNI server names and hostname checks.
- Handles STARTTLS for SMTP, IMAP and PostgreSQL services.
- Uses an unverified initial handshake so broken chains remain inspectable.
- Validates against the system trust store with script-friendly exit codes.
- Accepts custom root certificates for internal PKI environments.
- Distinguishes trusted, self-anchored and broken chains.
- Detects missing issuers, redundant roots, out-of-order certificates and duplicates.
- Identifies unrelated certificates included in a bundle.
- Reports issuer retrieval URLs for missing intermediates when available.
- Provides JSON output with trust, presentation findings and certificate details.
- Filters expired, expiring, valid and self-signed certificates.
- Displays certificate information across navigable panes and tabs.
- Exports certificates and copies them as PEM through OSC52.
- Provides configurable expiry warnings and terminal colours.
- Publishes checksums, Sigstore signatures, SBOMs and SLSA provenance.
Website: github.com/kanywst/y509
Support:
Developer: kanywst
License: Apache License 2.0
y509 is written in Go. Learn Go with our recommended free books and free tutorials.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.