octoblu / meshblu

Meshblu is a cross-protocol IoT machine-to-machine messaging system.
https://meshblu.readme.io/
MIT License
816 stars 181 forks source link

Is self-signed certificate work? #65

Closed olarn closed 10 years ago

olarn commented 10 years ago

I tried to add device to SkyNet with HTTPS protocol and I found a problem.

BTW. I didn't use default config.js yet (the one use environment params) Not sure it's cause of problem or not. The config.js is locate below this post. And the version I testing is 12df854f959febfb0fde6de403fe25cd26c966e6.

module.exports = { port: 3000, tls: { sslPort: 443, cert: "/certs/server.crt", key: "/certs/server.key" }, log: true, mongo: { databaseUrl: "mongodb://localhost:27017/skynet" }, redis: { host: "127.0.0.1", port: "6379", password: "pass@word1" }, rateLimits: { message: 10, data: 10, connection: 2, query: 2, whoami: 10, unthrottledIps: ["54.186.134.252"] }, plivo: { authId: "abc", authToken: "123" }, urbanAirship: { key: "abc", secret: "123" }, coap: { port: 5683, host: "localhost" }, mqtt: { databaseUrl: "mongodb://user:pass@adam.mongohq.com:1337/skynet", port: 1883, skynetPass: "Very big random password 34lkj23orfjvi3-94ufpvuha4wuef-a09v4ji0rhgouj" } };

chrismatthieu commented 10 years ago

Duplicate issue with #60

chrismatthieu commented 10 years ago

Fix deployed to production today.