What I did sudo gem install cocoapods
This is the full message from terminal
ERROR: You must add /C=BE/O=GlobalSign nv-sa/CN=AlphaSSL CA - SHA256 - G2 to your local trusted store
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - hostname "rubygems.org" does not match the server certificate (https://rubygems.org/specs.4.8.gz)
ERROR: SSL verification error at depth 0: unable to get local issuer certificate (20)
I have no experience with SSL but I followed a couple of question similar to mine but no luck
What I've tried:
- Download and install the new SHA256 intermediate certificate
- Change hostname from https to http
- Follow this guide but couldn't copy GlobalSignRootCA.pem to ruby folder
- Use HomeBrew but got another error while installing it