-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openssl not installing cert.pem in macOS 10.14 #28806
Comments
Hi @jonathansimmons! A gentle reminder, not every one of the maintainers is a "gent" - it never hurts to be inclusive when addressing people. :) As you might be aware, Homebrew doesn't support OS X 10.4. However, I maintain a fork called Tigerbrew that does support Macs on 10.4 - both Intel and PowerPC. There are some packaging differences in Tigerbrew to account for things like this. Edit: Unless maybe you're referring to macOS 10.14 instead of OS X 10.4? |
Hey @mistydemeo, First, yes I was referring to macOS 10.14. 10.4 is just so easy to type. Plus, it was early and I'd not had my coffee yet. Allow me to be confused though as to why this would be closed. I'm not asking for immediate support but rather trying to help identify an issue. I'd submit a PR but that is beyond my skillset at the moment. So I thought I'd report it here. |
I closed it because I thought we were talking about OS X 10.4, which Homebrew doesn't support at all. I can reopen this now that I know we're talking about 10.14! |
did you also |
No, as I’ve never used brew to install ruby. I manage it with rbenv. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?https://gist.github.com/jonathansimmons/89727bbac13c44b042a3d9120a1e2a1e
To help us debug your issue please explain:
Me again gents, running macOS 10.14 use a gem that required open ssl, for the sake of this issue i'm going to ignore that gem and just use a simple test for open ssl:
ruby -rnet/https -e "Net::HTTP.get URI('https://github.com')"
openssl::ssl::sslerror: ssl_connect returned=1 errno=0 state=sslv3 read server certificate b: certificate verify failed
A passing ssl connection.
brew install
commands)The openssl install completes but the
ruby -rnet/https -e "Net::HTTP.get URI('https://github.com')"
is still failing.How I fixed it:
Further investigation revealed that while the homebrew openssl install was completing it was not actually putting the cert.pem in
/usr/local/etc/openssl
. I stumbled through the internets and found rbenv/ruby-build#380 (comment) and used the initial post to create the pem file and the definedfind_certificate
method to put the cert.pem in place. Then everything started working.I wanted to report this here to see if this is actual a problem with how the openssl formula is functioning in macOS 10.14.
The text was updated successfully, but these errors were encountered: