Re: [nodejs] CERT_UNTRUSTED Error

2014-02-23 Thread Maz
Thank you mate, rejectUnauthorized: false did the trick. ! On Thursday, 6 February 2014 21:07:55 UTC+1, Alex Kocharin wrote: npm config ... sets npm settings, but you're using node.js. Those are two entirely different applications. In this case you can do: $ node -e

Re: [nodejs] CERT_UNTRUSTED Error

2014-02-06 Thread Alex Kocharin
 "npm config ..." sets npm settings, but you're using node.js. Those are two entirely different applications. In this case you can do:$ node -e "require('https').request({host: 'solarems.net',rejectUnauthorized: false}, function(res){console.log(res.statusCode)}).end()"But please be careful where

Re: [nodejs] CERT_UNTRUSTED Error

2014-02-06 Thread Pratik Sathaye
Can you please change the host name here or delete the post for security issues. Thanks On Friday, February 7, 2014 1:37:55 AM UTC+5:30, Alex Kocharin wrote: npm config ... sets npm settings, but you're using node.js. Those are two entirely different applications. In this case you

Re: [nodejs] CERT_UNTRUSTED Error

2014-02-06 Thread Alex Kocharin
 I have no way to do either, it's a mailing list. If you want it to be removed from google groups, you can ask moderators, I won't have any objections about removing/changing those. However, this post (as well as your initial post) stays in the archives forever

Re: [nodejs] CERT_UNTRUSTED Error

2014-02-05 Thread Pratik Sathaye
I tried npm config set ca npm config set strict-ssl false and both not worked for me.. I am trying to execute below command on my terminal echo require('https').request({host: 'solarems.net'}, function(res){console.log(res.statusCode)}).end() | NPM_DEBUG=https node And I am getting

Re: [nodejs] CERT_UNTRUSTED Error

2013-12-27 Thread Woon Cherk Lam
Thanks for the trick! It worked! :D On Wednesday, 17 April 2013 05:17:13 UTC+8, Trygve Lie wrote: Hi This sounds very similar to some problems we had. We have an internal copy of npm we run against and after switching from 0.8.x to 0.10.x in development more or less all installs failed

[nodejs] CERT_UNTRUSTED Error

2013-04-16 Thread Robert Eberhart
Hello, This actually isn't a problem with NodeJS per se. The problem actually lies with my company, but I'm hoping that someone might have a way around it. The problem is that trying to install a module with npm fails with a CERT_UNTRUSTED error. I believe that the problem is that my

Re: [nodejs] CERT_UNTRUSTED Error

2013-04-16 Thread Ben Noordhuis
On Tue, Apr 16, 2013 at 6:49 PM, Robert Eberhart robert.eberh...@gmail.com wrote: Hello, This actually isn't a problem with NodeJS per se. The problem actually lies with my company, but I'm hoping that someone might have a way around it. The problem is that trying to install a module with

Re: [nodejs] CERT_UNTRUSTED Error

2013-04-16 Thread Trygve Lie
Hi This sounds very similar to some problems we had. We have an internal copy of npm we run against and after switching from 0.8.x to 0.10.x in development more or less all installs failed with CERT_UNTRUSTED errors. It was actually failing a bit random. But, resetting the ca config by setting