From charlesreid1

Configure

New Instructions: From Homebrew

$ brew install openssl

Old Instructions: From Source

Configure 32 bit:

./Configure --prefix=${HOME}/pkg/openssl/1.0.0_32

Configure 64 bit:

./Configure darwin64-x86_64-cc --prefix=${HOME}/pkg/openssl/1.0.0_64

or just run ./Configure and follow the instructions.

Installing New Certificates

To install new certificates, put them in /usr/local/opt/openssl/certs

Once you do that, run /usr/local/opt/openssl/bin/c_rehash

This can be useful for a couple of different things:

There are multiple other uses (beyond the scope of this page). See Certificates page.

References

http://www.openssl.org/source/