curl SSL certification error curl SSL certification error curl curl

curl SSL certification error


Quick answer is: installation script that you download by itself calls curl to download tarball, and it does so without -k option:

$ curl -s https://install.meteor.com | grep curlcurl --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR" -o

To press curl into it you can add --insecure to your curlrc:

$ echo insecure >> ~/.curlrc

Or just use http:

$ curl http://install.meteor.com

But i would strongly advise to look into problem itself - there might be someone MitM'ing you. Certificate of install.meteor.com seems fine to me.


This is the way I solve this issue.

  1. Browse the install script in the web browser. (https://install.meteor.com/)

  2. Save the script in your home as install_meteor.sh

  3. In the Terminal, run sh install_meteor.sh

If you run like this, you will see that the error actually occurs in the installation script. What you have to do is to edit the script to make it ignore the certificate verification.

  1. vi install_meteor.sh to edit the install script.

  2. Look for the line curl --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR" -o

  3. Change this to curl -k --progress-bar --fail "$TARBALL_URL" | tar -xzf - -C "$INSTALL_TMPDIR" -o

  4. Save it and run sh install_meteor.sh again.


I reinstalled the OS and the error finished. I know this should not be the solution but this is what worked for me. I hope someone else posts a better solution.