Skip to content

Instantly share code, notes, and snippets.

@cicorias
Created September 24, 2016 17:50
Show Gist options
  • Save cicorias/6a32b8c1bcb1cb40983351a3625d554e to your computer and use it in GitHub Desktop.
Save cicorias/6a32b8c1bcb1cb40983351a3625d554e to your computer and use it in GitHub Desktop.
Notes on OpenSSL and macOS support or builds and linking
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment