We recently renewed the SSL certificate of our site, and the following occurs on Mac OS El Capitan 10.11.3:
require \'net/http\'
Net::HTTP.get URI(\'https:/
It sounds like the problem is with your OSX certificates cache. I guess you updated your certificates before the old one has expired?
Try purging your OSX system wide CRL cache by running this command:
crlrefresh rpv
# p - purges cache, r - refreshes them, v - run in verbose mode
This is a built-in command-line tool that updates and maintains system-wide CRL cache. Read more about it in its man page (mand crlrefresh).