# Node red AWS mqtt

**URL:** <https://discourse.nodered.org/t/node-red-aws-mqtt/65172>\
**Category:** General\
**Created:** [15 July 2022 22:12 UTC](https://discourse.nodered.org/t/node-red-aws-mqtt/65172 "2022-07-15T22:12:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miqueiasjs](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@miqueiasjs](https://discourse.nodered.org/u/miqueiasjs)\
**Post date:** [15 July 2022 22:12 UTC](https://discourse.nodered.org/t/node-red-aws-mqtt/65172/1 "2022-07-15T22:12:52Z")

</div>

Não estou conseguindo integrar o node red com a AWS por meio do MQTT, já tentei colocar o certificado no TSL, porém fica sempre tentando conectar, já tentei criar uma "coisa" diferente, mudar o certificado, porém não tive sucesso!

 ![Screenshot_3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/76285f03cdec8d085eb7a6fd52b8ff0b929eea02.png)  
 ![Screenshot_4](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c8af94ff25780155ed3da9c8fbfa03f049628bdf.png)

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [16 July 2022 01:59 UTC](https://discourse.nodered.org/t/node-red-aws-mqtt/65172/2 "2022-07-16T01:59:24Z")

</div>

Hi @miqueiasjs , welcome to the forum. As this is a global forum it would be better to translate your question to English before posting.

Assuming the certificates are valid (and active) the most likely reason for not connecting to AWS IoT Core is lack of policy or policy not attached to the thing. I recommend you to review your config in AWS console.

> ## Create policy
> 
> AWS IoT policies grant or deny access to AWS IoT resources such as things, thing shadows, and MQTT topics. A device or user can invoke AWS IoT operations only if they are granted the appropriate permissions.
> 
> **Policy name**
> 
> The policy's name must be unique in your AWS account and Region.
> 
> **Policy document**
> 
> When you create a policy, you create policy statements that grant or deny resources access to AWS IoT Core operations. You can create these statements by using the guided statement builder or entering them directly as JSON elements.
> 
> To apply the permissions that a policy grants or denies, you attach the policy to a target.

---

<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:** [14 September 2022 02:00 UTC](https://discourse.nodered.org/t/node-red-aws-mqtt/65172/3 "2022-09-14T02:00:18Z")

</div>

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