openssl@4

Install command:
brew install openssl@4

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
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.0.1

Other versions:

openssl@3 3.6.3 Cryptography and SSL/TLS Toolkit
openssl@3.5 3.5.7 Cryptography and SSL/TLS Toolkit
openssl@3.0 3.0.21 Cryptography and SSL/TLS Toolkit

Keg-only

Depends on:

ca-certificates 2026-08-13 Mozilla CA certificate store
To add additional certificates, place .pem files in
    $HOMEBREW_PREFIX/etc/openssl@4/certs

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

Analytics:

30 days90 days365 days
Installs17,74962,59083,739
Installs (--HEAD)4813
Installs on Request4,59012,27716,266
Installs on Request (--HEAD)4710
Build Errors177