Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with connecting to AWS MQTT broker using certificate #284

Closed
Maher9494 opened this issue Nov 28, 2019 · 2 comments
Closed

Problem with connecting to AWS MQTT broker using certificate #284

Maher9494 opened this issue Nov 28, 2019 · 2 comments

Comments

@Maher9494
Copy link

Maher9494 commented Nov 28, 2019

Hello,
I'm testing the new version of ESP-AT 2.0.0, My aim is to connect to amazon AWS server via MQTT using private key and a certificate.
I have followed the AWS instructions and created the thing on AWS.
the commands that I have issued are the following
AT+MQTTUSERCFG=0,4,"ESP32","","",0,0,""
response is OK
AT+MQTTCONN=0,"xxxxxxxxx-ats.iot.us-west-2.amazonaws.com",8883,0
the response is: +MQTTDISCONNECTED:0
ERROR
knowing that I have already put my certificates instead of the default generated mqtt_cert.bin and mqtt_key.bin and the mqtt_ca.bin
and then I have make factory_bin which was uploaded to the ESP32.

@xcguang
Copy link
Collaborator

xcguang commented Nov 29, 2019

We have a guidance about this, but it is in Chinese, https://blog.csdn.net/espressif/article/details/101714951.

@Maher9494
Copy link
Author

Thanks A lot I have followed it and it has worked :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants