Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

OpenSSL

$ openssl Foundation High Risk
OpenSSL Project · Security & Secrets · Apache-2.0 · macos / linux / windows

openssl 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.

FCRS-1.0 Score
73 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install openssl@3
CLI vs MCP Decision CLI Only

Certificate inspection and local key generation run natively via openssl (or step for JSON); no MCP layer is appropriate.

Agent-Readiness Checklist

Local Probe Evidence
— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md
Version
—
Startup
0 ms
Exit Codes (help / invalid)
— / —
NO_COLOR Clean / Non-TTY Safe
Yes / Safe

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 13 / 25

Lacks --json output, uses inconsistent legacy flags across subcommands, and hangs in s_client without </dev/null.

  • No --json; s_client blocks on stdin unless redirected
Trust & Safety 17 / 25

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
Setup & Portability 14 / 15

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
Utility & Efficiency 13 / 15

Universal Swiss Army knife for TLS debugging when modern tools like step are absent.

  • Complete X.509, CSR, TLS, and cipher suite diagnostics
Maintenance & Lineage 9 / 10

Foundational internet cryptography library maintained by the OpenSSL Project (v3 under Apache-2.0).

  • Long-lived foundation-grade project
Docs & Verifiability 7 / 10

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

Auth Modes
No Auth Config File
Credential Storage

Operates on local key/cert PEM/DER files or optional openssl.cnf engine configurations.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and open-source (Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect local X.509 certificate dates and subject
openssl x509 -in cert.pem -noout -subject -issuer -dates

Prints concise certificate metadata read-only without dumping raw PEM blocks.

Inspect remote TLS certificate without hanging on stdin
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_client hangs headless shells indefinitely unless </dev/null is passed.
  • ! Zero --json output and inconsistent flags across OpenSSL 3 vs macOS LibreSSL—prefer step when installed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI