Issue
I get the following error running curl https://npmjs.org/install.sh | sh
on Mac OSX 10.9 (Mavericks):
install npm@latest
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
How do I fix this?
Solution
Using the Safari browser (not Chrome, Firefox or Opera) on Mac OS X 10.9 (Mavericks) visit https://registry.npmjs.org
Click the Show certificate button and then check the checkbox labelled Always trust. Then click Continue and enter your password if required.
Curl should now work with that URL correctly.
Answered By - Lewis Buckley Answer Checked By - Mildred Charles (WPSolving Admin)