mistydemeo / homebrew-twine

Homebrew tap for installing the Twine hypertext authoring software.
4 stars 1 forks source link

Error: "SSL certificate problem: Invalid certificate chain" #1

Open gw666 opened 9 years ago

gw666 commented 9 years ago

I just tried to install and I got this problem:

--- begin

fooberMAC-8:~ gr$ brew install mistydemeo/twine/twine2 Cloning into '/usr/local/Library/Taps/mistydemeo-twine'... fatal: unable to access 'https://github.com/mistydemeo/homebrew-twine/': SSL certificate problem: Invalid certificate chain fooberMAC-8:~ gr$ --- end

I confirmed that Homebrew is installed correctly. My SSL keys for Github seem to be in the right place. Is this problem on my side or yours? Please look into this when you can. Thanks.

PS: Twine looks awesome!

mistydemeo commented 9 years ago

Can you provide your brew --config and brew doctor, please?

gw666 commented 9 years ago

Hi--I ran 'brew doctor' and cleaned up as instructed, then loaded Xcode from the Apple App Store. The result is as follows:

fooberMAC-8:Developer gr$ brew install mistydemeo/twine/twine2
Cloning into '/usr/local/Library/Taps/mistydemeo-twine'...
fatal: unable to access 'https://github.com/mistydemeo/homebrew-twine/': SSL certificate problem: Invalid certificate chain

fooberMAC-8:Developer gr$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 6b7c9f7b9634756fa74c0d9a3430dbfaa39c900d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.5-x86_64
CLT: 6.1.0.0.1.1413057044
Clang: 6.0 build 600
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby

fooberMAC-8:Developer gr$ brew doctor
Warning: Your compilers are different from the standard versions for your Xcode.
If you have Xcode 4.3 or newer, you should install the Command Line Tools for
Xcode from within Xcode's Download preferences.
Otherwise, you should reinstall Xcode.
fooberMAC-8:Developer gr$

According to http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/, loading Xcode loads the latest Command Line Tools package: "From OS X 10.9 onward, if Xcode is already installed in OS X then Command Line Tools becomes installed as well."

The same page says "Yes, that means you can uninstall the entire Xcode app and only install the command line tools if you want to, since for many users and sysadmins that’s the only reason they installed Xcode to begin with." So I uninstalled XCode (saving a much-needed 6 GB on my internal hard disk) and confirmed that the CLI tools were still at /Library/Developer/CommandLineTools.

The above dump was done after I uninstalled the XCode application.

Thanks again for your help.

PS: This is low priority. I'm doing basic stuff and can use v1.4.2.