Hi,
Can't find connect method for typescript with ISecureClientOptions.
How can I use typescript to connect with SSL cert?
Thank you.
Probably we have a bug in our typings. Would you like to send a PR?
I'm trying to connect using node.js as in https://github.com/mqttjs/MQTT.js/tree/master/examples/tls%20client
I've used certificates for my site, but get this error:
Error: Unknown protocol for secure connection: "ssl"!
@reejinbouk Try the mqtts protocol instead in your URL
Looks like this can be closed too @mcollina
Most helpful comment
@reejinbouk Try the
mqttsprotocol instead in your URL