From GitHub
#You must specify where to find CA certs for ruby to use them.
cat $(ruby -e "require 'net/http'; puts OpenSSL::X509::DEFAULT_CERT_FILE") "${HOME}/Library/Application Support/io.puma.dev/cert.pem" > /tmp/cert.pem
require 'open-uri'
require 'net/http'