🍺 BREW Explorer

← all formulae

openssl@4

brew install openssl@4 v4.0.1 Apache-2.0 keg-only

Cryptography and SSL/TLS toolkit library (version 4.0.0+), OpenSSL's latest major release with modernized APIs.

Why you might care

Use this if your build or runtime explicitly requires OpenSSL 4.x for its new cryptographic algorithms, improved API design, or specific bug fixes. It's installed keg-only to coexist with other OpenSSL versions; link it explicitly in your build if needed. Most existing software still depends on OpenSSL 3.x or earlier.

Categories

Alternatives

OpenSSL 3.x LibreSSL GnuTLS wolfSSL
26.3k
30-day installs · #202
46.8k
90-day · #288
46.8k
365-day · #713

Runtime dependencies

Links

Caveats

To add additional certificates, place .pem files in
  $HOMEBREW_PREFIX/etc/openssl@4/certs

and run
  $HOMEBREW_PREFIX/opt/openssl@4/bin/c_rehash

Keg-only reason

:versioned_formula

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "OpenSSL 3.x",
    "LibreSSL",
    "GnuTLS",
    "wolfSSL"
  ],
  "build_dependencies": [],
  "categories": [
    "library",
    "crypto",
    "security"
  ],
  "caveats": "To add additional certificates, place .pem files in\n  $HOMEBREW_PREFIX/etc/openssl@4/certs\n\nand run\n  $HOMEBREW_PREFIX/opt/openssl@4/bin/c_rehash\n",
  "conflicts_with": [],
  "dependencies": [
    "ca-certificates"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Cryptography and SSL/TLS Toolkit",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:44+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "openssl@4",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://openssl-library.org",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "OpenSSL Library",
  "installs_30d": 26271,
  "installs_365d": 46792,
  "installs_90d": 46794,
  "keg_only": 1,
  "keg_only_reason": ":versioned_formula",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:43:22+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "openssl@4",
  "oldnames": [],
  "one_liner": "Cryptography and SSL/TLS toolkit library (version 4.0.0+), OpenSSL\u0027s latest major release with modernized APIs.",
  "optional_dependencies": [],
  "rank_30d": 202,
  "rank_365d": 713,
  "rank_90d": 288,
  "raw_hash": "32ceb16746038aff",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/o/openssl@4.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "4.0.1",
  "versioned_formulae": [
    "openssl@3",
    "openssl@3.5",
    "openssl@3.0"
  ],
  "why_use_this": "Use this if your build or runtime explicitly requires OpenSSL 4.x for its new cryptographic algorithms, improved API design, or specific bug fixes. It\u0027s installed keg-only to coexist with other OpenSSL versions; link it explicitly in your build if needed. Most existing software still depends on OpenSSL 3.x or earlier."
}