1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hi mzk. It seems that it's the xTlsConnect()
call that's failing. Have you provisioned everything?
https://github.com/FreeRTOS/iot-reference-esp32c3/blob/main/GettingStartedGuide.md#2-demo-setup
If so, please try these troubleshooting steps: https://docs.aws.amazon.com/iot/latest/developerguide/diagnosing-connectivity-issues.html
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
I have connected to the endpoint using the following CLI command openssl s_client -connect custom_endpoint.iot.aws-region.amazonaws.com:8443 -CAfile CA.pem -cert cert.pem -key privateKey.pem to connect to the endpoint and the connection was successful. I also tested the AWS server using node-red with the downloaded certificates and keys and the connection was successful. There is some problem on the ESP side, which I am unable to figure out.
Hi, I have followed the documentation exactly point to point multiple times, but I am still unable to connect.
Hi. It seems you have proven that the cert, keys and IoT policy are all good. It's hard to see how the problem now could be anything other than the configuration/setup of the ESP32S3 device. Cert or key not injected correctly, maybe wrong client ID, something like that.