Last active
January 4, 2022 00:05
-
-
Save bdurand/a3f5b3016bccfd64a668cc81d4405db8 to your computer and use it in GitHub Desktop.
puma-dev TLS certificate commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security add-trusted-cert -k $(security login-keychain | xargs | sed -e 's/^"//' -e 's/"$//') ~/Library/Application\ Support/io.puma.dev/cert.pem | |
mkdir -p /usr/local/etc/openssl`ls -ld /usr/local/opt/openssl | egrep -o "@[0-9.]+"`/certs | |
cp ~/Library/Application\ Support/io.puma.dev/cert.pem /usr/local/etc/openssl`ls -ld /usr/local/opt/openssl | egrep -o "@[0-9.]+"`/certs/io.puma.dev.pem | |
/usr/local/opt/openssl/bin/c_rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment