TheThingsArchive / node-app-sdk

The Things Network Application SDK for Node.JS
https://www.thethingsnetwork.org/docs/node-js/
MIT License
41 stars 28 forks source link

SSL warning/error on Application Manager requests #71

Closed noerw closed 6 years ago

noerw commented 7 years ago

Calling functions on an application results in the following SSL error emitted by node: E0911 18:11:13.687662896 11875 ssl_transport_security.c:227] Could not get common name of subject from certificate.

However, the call is executed correctly.

import * as ttn from 'ttn' // ttn@2.2.5
const app = await ttn.application('my-app', 'mytoken')
const devs = await app.devices() // -> SSL warning
romeovs commented 7 years ago

This is due to the way we build the self-signed handler certificates on the public community network. The warning is harmless so you can ignore it.

In the meantime we will make sure to add the common name to new certificates. We'll put them live ASAP.

cc @htdvisser

htdvisser commented 6 years ago

@noerw I don't see this warning anymore, please reopen if it's still there when you try.