CERT_UNTRUSTED error.
Hi, when trying to make a simple test using the module I'm getting a CERT_UNTRUSTED error.
hi @williamhrs you're going to need to give a bit more information here, what version of node are you running? Which OS? What were you trying to do? Which function are you calling? Can you give me a backtrace?
I am seeing the same thing. Simple code:
var gecko = new Geckoboard({api_key: 'asdfasdfasdfasdfasdf'}); gecko.number('asdfasdfasdfasd').send({item:[{value:123, text:'test}]}, false, 'standard', done);
Looks like an issue with https and the ca chain. If you add rejectUnauthorized: false to the options hash things go through but that is a bit sketchy
hi @chriskinsman / @williamhrs , yes, it looks like geckoboard has done something with their SSL certs, or a version of node has changed something... can you please tell me what version of node you are running?
You could either add rejectUnauthorized or look at using https://github.com/coolaj86/node-ssl-root-cas which would help aleviate the issue, maybe
This isn't an issue with the library so I'm going to close the issue. Please re-open if you feel it is an issue with the library and not geckoboard's SSL or Node.js
There is no way to set rejectUnauthorized without modifying the library. I will perhaps figure out a pull request for that.
On Fri, Jan 30, 2015 at 12:06 PM, Dan Jenkins [email protected] wrote:
hi @chriskinsman https://github.com/chriskinsman / @williamhrs https://github.com/williamhrs , yes, it looks like geckoboard has done something with their SSL certs, or a version of node has changed something... can you please tell me what version of node you are running?
You could either add rejectUnauthorized or look at using https://github.com/coolaj86/node-ssl-root-cas which would help aleviate the issue, maybe
This isn't an issue with the library so I'm going to close the issue. Please re-open if you feel it is an issue with the library and not geckoboard's SSL or Node.js
— Reply to this email directly or view it on GitHub https://github.com/danjenkins/node-geckoboard-push/issues/14#issuecomment-72262248 .
Ah ok! that makes sense, I'll re-open the issue then