Urgent.News

What's breaking now, across hundreds of outlets.

Tech

sslx: A fast, modern alternative to OpenSSL's CLI

SSlx offers a fast and modern alternative to the OpenSSL command line interface. This single binary provides a comprehensive solution for handling certificates, TLS connections, and related tasks. Developed using Rust and the rustls library, SSlx does not require any system OpenSSL installation.

SSlx can assess the TLS setup of any host, providing a letter grade ranging from A+ to F. It checks various aspects such as protocol version, cipher strength, certificate validity, key type, hostname matching, chain completeness, and ALPN. The tool also allows checking certificate expiry for multiple hosts simultaneously, triggering an exit code of 1 if any certificate expires within seven days. This feature is particularly useful for integrating into cron jobs or CI pipelines.

SSlx simplifies the process of reading PEM or DER certificate files, displaying the contents with colored output. It supports both PEM and DER formats and automatically detects the file type. Users can view the full TLS handshake details and certificate chain for any host. To facilitate local development, SSlx enables the creation of a self-signed certificate with a default EC P-256 key, with support for ec384 and ed25519 as well.

It can generate both a Certificate Signing Request (CSR) and the corresponding key, which can then be submitted to a Certificate Authority (CA). SSlx extracts the leaf certificate, intermediates, and key from the CSR and organizes them into separate PEM files.

Additionally, SSlx can analyze any file or JWT token provided, determining its type and providing detailed feedback if it fails. The tool offers suggestions on how to resolve any issues encountered. Every command supported by SSlx includes the --json option, enabling scripting and integration into Continuous Integration (CI) systems.

To engage with the SSlx community, users can join the GLINR Discord server, where they can ask questions, share feedback, and interact with other users. The project maintains its own forum channel, #sslx, within the Discord server. For further information, users can refer to the CONTRIBUTING.md file, which outlines the project's contribution guidelines. Bug reports and feature requests should be submitted through the issue tracker.

Rewritten by urgent.news; may contain errors — check the original.

Source: github.com

Read the original at github.com →

Report a problem with this story

More in Tech

More from Thursday 15 October →