OpenSSL
$ openssl Foundation High Riskopenssl is preinstalled across nearly every Unix system for inspecting X.509 certificates, TLS handshakes (s_client), and cryptographic keys. However, its sprawling subcommand syntax lacks --json output, and openssl s_client blocks waiting on stdin unless </dev/null is passed.
brew install openssl@3 Certificate inspection and local key generation run natively via openssl (or step for JSON); no MCP layer is appropriate.
Agent-Readiness Checklist
Local Probe EvidenceFCRS-1.0 6-Dimension Breakdown
Lacks --json output, uses inconsistent legacy flags across subcommands, and hangs in s_client without </dev/null.
- No
--json;s_clientblocks on stdin unless redirected
Inspection (x509 -noout, s_client) is read-only, while key/PKCS12 commands can overwrite or print unencrypted private keys if flags like -nodes are misused.
- Complex flags around private key encryption and file outputs
Preinstalled nearly everywhere (note macOS ships LibreSSL as /usr/bin/openssl unless openssl@3 is added via Homebrew).
- Ubiquitous Unix availability with OpenSSL vs LibreSSL differences
Universal Swiss Army knife for TLS debugging when modern tools like step are absent.
- Complete X.509, CSR, TLS, and cipher suite diagnostics
Foundational internet cryptography library maintained by the OpenSSL Project (v3 under Apache-2.0).
- Long-lived foundation-grade project
Extensive man pages, though flags vary widely across subcommands and OpenSSL 1.1/3.x/LibreSSL.
- Man pages at docs.openssl.org with steep flag complexity
Security, Auth & Guardrails
Operates on local key/cert PEM/DER files or optional openssl.cnf engine configurations.
100% free and open-source (Apache-2.0).
# OpenSSL Agent Rules - ALWAYS redirect `</dev/null` to `openssl s_client` so it does not hang waiting for interactive HTTP stdin. - Prefer `step certificate inspect --format json` when `step` is available; never print private keys (`rsa`/`ec`/`pkcs12`) into stdout.
Agent-Ready Command Recipes
Safe Read-Only Queries
openssl x509 -in cert.pem -noout -subject -issuer -dates
Prints concise certificate metadata read-only without dumping raw PEM blocks.
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -subject
Redirects </dev/null so s_client closes cleanly after the TLS handshake.
Strengths for Agents
- + Preinstalled on almost every Linux container and developer host.
- + Comprehensive low-level TLS handshake and X.509 certificate diagnostics.
Caveats & Pitfalls
- !
openssl s_clienthangs headless shells indefinitely unless</dev/nullis passed. - ! Zero
--jsonoutput and inconsistent flags across OpenSSL 3 vs macOS LibreSSL—preferstepwhen installed.