Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

OpenSSL and OS X 10.3: certificate verify failed #38507

Closed
lloeki opened this issue Apr 10, 2015 · 6 comments
Closed

OpenSSL and OS X 10.3: certificate verify failed #38507

lloeki opened this issue Apr 10, 2015 · 6 comments

Comments

@lloeki
Copy link
Contributor

lloeki commented Apr 10, 2015

Some certificate validations fail with ruby, but it seems to be more far reaching. This affects both homebrew's ruby (bottled) and custom-built ruby, and possibly anything using homebrew's OpenSSL.

There seems to be a problem either with the certificate dump process or the keychain certificate store has some issues to begin with. Diagnosing the issue is quite muddled due to various moving parts and order things were done (installing openssl/building ruby/generating cert.pem/upgrading to 10.10.3).

Hard to tell if homebrew is or is not – partially or totally – in cause or can take mitigation steps, but please see investigations late in the aforementioned issue.

@lloeki
Copy link
Contributor Author

lloeki commented Apr 10, 2015

I confirmed that as soon as an install or upgrade of openssl is done post 10.3 via homebrew, cert.pem will be (re)generated and things blow up from there.

@lloeki
Copy link
Contributor Author

lloeki commented Apr 10, 2015

Possible ties with #38226.

@lloeki lloeki changed the title Potential issue with OpenSSL and 10.10.3 OpenSSL and OS X 10.3: certificate verify failed Apr 10, 2015
@lloeki
Copy link
Contributor Author

lloeki commented Apr 10, 2015

Steps to reproduce:

# upgrade to OS X 10.3, then
brew remove openssl
brew install openssl ruby
/usr/local/bin/ruby -e 'require "net/http"; require "uri"; Net::HTTP.get(URI("https://google.com"))'

@MikeMcQuaid
Copy link
Member

Duplicate of #38491.

@lloeki
Copy link
Contributor Author

lloeki commented Apr 10, 2015

Well, sorry for the noise. Missed it in a search, plus it's already cross-referenced, how could I miss that 😭.

@MikeMcQuaid
Copy link
Member

No worries!

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants