Where to put private key when MQTT + AWS IOT
Posted: Sat Jun 10, 2017 9:10 pm
I'm using NodeMCU on a Wemos D1 Mini Pro. I want to send the value of a DHT11 sensor to the Amazon AWS IoT platform. I have a custom build that includes the net and tls (1.2) module.
Amazon's MQTT broker needs a certificate and a private key when you are connecting.
The certificate can be stored by using tls.cert.verify() but where do I store the private key?
Amazon's MQTT broker needs a certificate and a private key when you are connecting.
The certificate can be stored by using tls.cert.verify() but where do I store the private key?