OpenSSL
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:
- Using Stunnel to route arbitrary traffic through SSL, which requires a certificate (see RaspberryPi/Reverse_SSH, RaspberryPi/SSH_Stunnel, and RaspberryPi/Reverse_SSH_Stunnel for applications)
- Setting up an HTTPS-capable web server
- Issuing a certificate for a wireless network
There are multiple other uses (beyond the scope of this page). See Certificates page.