Closed noerw closed 7 years ago
import * as ttn from 'ttn' // ttn@2.2.2 app = await ttn.application('my-app', 'mytoken') // my-app is registered at public eu handler
results in TypeError: createSsl's first argument must be a Buffer
TypeError: createSsl's first argument must be a Buffer
When running Buffer.from(certificate, 'utf8') in the ApplicationClient constructor I get Could not get common name of subject from certificate.
Buffer.from(certificate, 'utf8')
Could not get common name of subject from certificate.
Thanks for the report! I'm looking into it.
@noerw This should be fixed in2.2.4, can you confirm?
2.2.4
indeed, thanks!
results in
TypeError: createSsl's first argument must be a Buffer
When running
Buffer.from(certificate, 'utf8')
in the ApplicationClient constructor I getCould not get common name of subject from certificate.