Trying to integrate with AWS IOT - ssl client errors

I’m trying to get my gateway to integrate with AWS IOT, following this guide:

I’m using the current development branch from github.

I’ve got the code updated to use the AWS thing certificates, built and uploaded to a Heltec Wifi LoRa 32 (v3), but when it’s trying to connect to the AWS endpoint, all I get is:

[ 22243][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-29312) SSL - The connection indicated an EOF
[ 22244][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -29312
W: failure_number_mqtt: 2
W: failed, ssl error code=-29312

I’ve checked the certificates are all correct, and I can access the endpoint. Any thoughts? Anyone else managed to get this working?

Thanks
Dan

Hello,

Could you share your environment, it will help troubleshoot.
We have numerous gateways running OMG with AWS.