What is gnutls-cli?
gnutls-cli is made by Free Software Foundation, Inc.. A command-line TLS/DTLS client that establishes an encrypted connection to a remote service and forwards standard input/output over the protected channel, with extensive controls for protocol/cipher negotiation, authentication and certificate verification, STARTTLS operation, session resumption, and diagnostic/trace output.
What gnutls-cli does
A command-line TLS/DTLS client that establishes an encrypted connection to a remote service and forwards standard input/output over the protected channel, with extensive controls for protocol/cipher negotiation, authentication and certificate verification, STARTTLS operation, session resumption, and diagnostic/trace output.
- Establishes TLS/DTLS connections and forwards stdin/stdout over the secured socket
- STARTTLS support, including protocol-specific modes (e.g., smtp, imap, ldap, xmpp, postgres) via STARTTLS options
- Configurable protocol/cipher/key-exchange behavior using priority strings, plus cipher/priority listing
- Certificate and identity verification controls, including hostname verification, optional CA verification disabling, TOFU, DANE, and OCSP handling
- Session resumption and TLS 1.3 early data controls
- Peer certificate and evidence export (print/save peer certificates, save OCSP responses, save client/server TLS traces)
- Client credential support from files and PKCS#11 URLs, with PKCS#11 provider configuration
Category: Penetration Testing Tools. gnutls-cli is open source and free to use.
What teams use it for
- Diagnose and validate TLS configuration of remote servers (protocols, ciphers, SNI/ALPN behavior)
- Test and debug STARTTLS endpoints (mail, directory, messaging, database protocols)
- Inspect/export server certificates, OCSP responses, and TLS handshake traces for troubleshooting or audits
- Verify certificate trust using mechanisms like DANE/DNSSEC or TOFU in environments where CA trust is not sufficient
- Automate TLS connectivity checks in scripts and CI environments using a CLI client
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
When enterprises consolidate gnutls-cli, Samplify most often finds its work moves to OpenSSL, a tool they usually already own.
Questions buyers ask
What does gnutls-cli do?
A command-line TLS/DTLS client that establishes an encrypted connection to a remote service and forwards standard input/output over the protected channel, with extensive controls for protocol/cipher negotiation, authentication and certificate verification, STARTTLS operation, session resumption, and diagnostic/trace output.
How common is gnutls-cli in large enterprises?
Samplify finds gnutls-cli in about 1 in 10 of the large enterprise software estates it has analysed.
Is gnutls-cli free?
gnutls-cli is open source and free to use.
What can replace gnutls-cli?
When large enterprises consolidate it, the work most often moves to OpenSSL. Other tools in the same category include Nmap, Npcap, Advanced Port Scanner, Burp Suite.
Do we already own something that does what gnutls-cli does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Free Software Foundation, Inc..