Curl ca-cert installation error Meteor on Mac

I'm trying: curl --insecure https://install.meteor.com | / bin / sh

and I get: curl: (60) SSL certificate problem: self-signed certificate in the certificate chain Read more here: http://curl.haxx.se/docs/sslcerts.html

I tried insecure after failure without parameter.

I tried to use the only certificate found on my system: curl --cacert '/Users//anaconda/lib/python2.7/site-packages/tornado/ca-certificates.crt'

Any ideas on how I can get these certificates or install a meteorite correctly without these problems?

Temporary solution:

I found several Meteor github posts tracking issues about people reporting similar propositions. There is a temporary solution if you really want to jump into a meteor without worrying about certificate materials.

So curl does not work with https addresses, from where they download data. I load the shell script and modify it a bit.

If you open http://install.meteor.com/ in your browser, you will see a .sh script. Then you can edit this script [I think you see where I am going with this].

I made something more comfortable

line [63-69]:

TARBALL_URL="https://d3fm2vapipm3k9.cloudfront.net/bootstrap/0.6.4/meteor-bootstrap-${PLATFORM}.tar.gz" INSTALL_TMPDIR="$HOME/.meteor-install-tmp" rm -rf "$INSTALL_TMPDIR" mkdir "$INSTALL_TMPDIR" echo "Downloading Meteor distribution" curl --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR" 

Follow TARBALL_URL with a resource other than curl and download this tgz. Expand to ~ / and you will have a ~ / .meteor directory

Running this part of the script lines: [75-84]

 test -x "$HOME/.meteor/meteor" echo echo "Meteor 0.6.4 has been installed in your home directory (~/.meteor)." LAUNCHER="$HOME/.meteor/tools/latest/launch-meteor" if cp "$LAUNCHER" "$PREFIX/bin/meteor" >/dev/null 2>&1; then echo "Writing a launcher script to $PREFIX/bin/meteor for your convenience." cat <<"EOF" 

Add a launcher.

Then a meteor is added to your basket path. BOOM. After spending 2 hours struggling with certificates, now enjoy and write your Meteor app in 5 minutes :) Amazing framework!

Greetings

+6
source share
3 answers

I had the same problem. This seems to be due to an executable dependent on Anaconda curl.

What I just did was let curl in / usr / bin be the first choice for a meteor installer. You can do this by following these steps:

  $ export PATH=/usr/bin:$PATH $ curl https://install.meteor.com | sh 

If you need to start python Anaconda again, close the terminal and open it again.

Hooray!

+8
source

First save the script using the following command.

curl -k "https://install.meteor.com/" > meteor.sh vi meteor.sh

Add -k to curl in the next line to disable certificate validation in the script.

curl -k --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR"

Run the following command.

sh meteor.sh

+7
source

The transition from https to http on line 63: TARBALL_URL="https://d3fm2vapipm3k9.cloudfront.net/bootstrap/0.6.4/meteor-bootstrap-${PLATFORM}.tar.gz" I’ll do.

+2
source

Source: https://habr.com/ru/post/947863/


All Articles