If you are asking a question, please follow this template:
- My goal is: I want to connect esp32 to aws iot core through MQTT api, without using AWS IoT setup
- My actions are: I dowloaded certicate and paste into fs folder also created conf1.json where I initialize parameters of MQTT as -
"mqtt" : {
"enable" : true,
"server" : "xxxxxxxx.iot.us-west-2.amazonaws.com",
"ssl_cert": "certificate.pem",
"ssl_key": "private.pem.key",
"ssl_ca_cert" : "AmazonRootCA1.pem"
}
- The result I see is:
mgos_mqtt_conn.c:479 Error: Invalid SSL cert
- My expectation & question is: I have downloaded certicate properly them what went wrong?