openssl@4

Install command:
brew install openssl@4

Also known as: openssl

Cryptography and SSL/TLS Toolkit

https://openssl-library.org

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/openssl@4.json

Formula code: openssl@4.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 4.1.0

Other versions:

openssl@3.6 3.6.5 Cryptography and SSL/TLS Toolkit
openssl@3 3.5.9 Cryptography and SSL/TLS Toolkit
openssl@3.0 3.0.22 Cryptography and SSL/TLS Toolkit

Depends on:

ca-certificates 2026-11-05 Mozilla CA certificate store

Uses from macOS: perl (build)

Binaries: openssl

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

and run
    $HOMEBREW_CELLAR/openssl@4/4.1.0/bin/openssl rehash $HOMEBREW_PREFIX/etc/openssl@4/certs

GitHub Packages downloads:

Last 30 days3,677,256
Downloads9,461,993
Analytics install events (30 days)412,998
Downloads / install events (30 days)8.9×

Source: GitHub Packages, fetched 2026-11-30T00:55:09Z. Analytics dates: 2026-10-31 to 2026-11-30. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs412,980892,319991,791
Installs (--HEAD)183851
Installs on Request10,22630,23148,548
Installs on Request (--HEAD)72232
Build Errors4,058