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,841,850
Downloads8,969,757
Analytics install events (30 days)453,624
Downloads / install events (30 days)8.5×

Source: GitHub Packages, fetched 2026-11-25T00:53:53Z. Analytics dates: 2026-10-26 to 2026-11-25. 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
Installs453,606839,404930,596
Installs (--HEAD)183648
Installs on Request12,14030,16747,530
Installs on Request (--HEAD)82131
Build Errors4,682