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 days4,824,602
Downloads7,117,217
Analytics install events (30 days)494,981
Downloads / install events (30 days)9.8×

Source: GitHub Packages, fetched 2026-11-10T00:47:37Z. Analytics dates: 2026-10-11 to 2026-11-10. 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
Installs494,964651,006729,685
Installs (--HEAD)172639
Installs on Request13,64027,04642,018
Installs on Request (--HEAD)91727
Build Errors5,389