# MQTT Route to Certificate Error

**URL:** <https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612>\
**Category:** General\
**Created:** [16 July 2018 13:49 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612 "2018-07-16T13:49:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![E.Strobel](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@E.Strobel](https://discourse.nodered.org/u/E.Strobel)\
**Post date:** [16 July 2018 13:49 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612/1 "2018-07-16T13:49:34Z")

</div>

I am having trouble getting the MQTT ouput block to connect to Amazon Web Services. It will go back and forth between "connecting" and "disconnected". Does anyone have any experience using AWS? I have tried looking for some sort of guide on Amazon's website but have not found anything to be useful. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![chainhead](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chainhead/32/40800_2.png) [@chainhead](https://discourse.nodered.org/u/chainhead)\
**Post date:** [16 July 2018 15:48 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612/2 "2018-07-16T15:48:48Z")

</div>

What client is this ? Python? Embedded, etc.?

---

<div class="post-metadata">

**Author:** ![E.Strobel](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@E.Strobel](https://discourse.nodered.org/u/E.Strobel)\
**Post date:** [16 July 2018 17:30 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612/3 "2018-07-16T17:30:13Z")

</div>

I am not really sure about the client. This is the error I am getting in the Debug tab:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/080d1b3919670682d8fe0ba32d28688c317e04c1.png)

I have triple checked the route to the file and don't understand how this could be the issue.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [16 July 2018 17:50 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612/4 "2018-07-16T17:50:36Z")

</div>

For windows you may need to escape the \ with another . So G:\. Etc. Or use / instead ?

---

<div class="post-metadata">

**Author:** ![E.Strobel](https://avatars.discourse-cdn.com/v4/letter/e/ce73a5/32.png) [@E.Strobel](https://discourse.nodered.org/u/E.Strobel)\
**Post date:** [16 July 2018 18:34 UTC](https://discourse.nodered.org/t/mqtt-route-to-certificate-error/1612/5 "2018-07-16T18:34:14Z")

</div>

Neither seemed to work. I don't understand why there is an issue with the route of the certificate, but the private key and CA certificate are fine. All are in the same folder.
