# HOW set AWS/Node-Red MQTT broker if "IOT thing" is connected via "password authentication" NOT private certificates?

**URL:** <https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645>\
**Category:** General\
**Tags:** mqtt\
**Created:** [6 October 2022 15:14 UTC](https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645 "2022-10-06T15:14:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lumanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lumanga/32/58334_2.png) [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Post date:** [6 October 2022 15:14 UTC](https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645/1 "2022-10-06T15:14:24Z")

</div>

Dear All  
I have Node-RED installed into an EC2 Virtual machine with Debian in AWS.

Following this guide, I'm able to let connect my ESP32 to AWS via MQTT.

> **[AWS IoT - Tasmota](https://tasmota.github.io/docs/AWS-IoT/#6-configure-tasmota-device)**
>
> Documentation (Wiki) for Tasmota

In AWS IOT console Test, I see the data of the DHT22 sensor, trasmitted by ESP32 to AWS.

 ![immagine](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cd05f54b5235b703f5c7875f69ea52310000e400.png)

**So all is working good**

My problem is:  
**How configure AWS Node-Red MQTT broker, to read the data received from device connected to AWS with the "password authentication"** creaded with "AWS CloudFormation templates" instead of use the MQTT broker with "private certificates".  
In fact, I have no files .certificate.pem.crt or .private.pem.key pubblic.pem.key etc. to add to MQTT BROKER Node in Node-red AWS EC2!  
Moreover I dont' know if I have to install the "mosquitto" mqttt broker in Linux EC2.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 December 2022 15:15 UTC](https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645/2 "2022-12-05T15:15:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
