Gemalto is now part of the Thales Group, find out more.

You are here

Problem with AWS and ESH5 | Thales IoT Developer Community

July 31, 2017 - 6:11pm, 7165 views

Hello, I hope you can help me, I am trying to connect an ESH5 to AWS IOT, but using MQTT with SSL has been impossible, I have done the following:

a)    I configured AWS oit (All steps according to manual) and then download the following security files:

  • 63daef3df8-certificate.pem.crt,
  • 63daef3df8-private.pem.key,
  • 63daef3df8-public.pem.key

b)    Then download the Root CA from Symantec Site (File pem, which I called RootCA.pem and after I converted it to .DER), finally I used the MQTT.FX tool to test and everything works correctly.

c)    After a Make the Midlet App Using Paho from Gemalto Code, it compiled without problems.

d)    Then, I make the netxs steps(IoT-AuterEjemplo is my app):

 java -jar jseccmd.jar -cmd AddHttpsCertificateUntrusted       -filename RootCA.der > AddHttpsCertificateUntrusted.bin

java -jar jseccmd.jar -cmd AddHttpsClientCertificateUntrusted -filename 63daef3df8-certificate.pem.crt -keyfilename 63daef3df8-private.pem.key > AddHttpsClientCertificateUntrusted.bin



^SJMSEC: 1,1,1,1







But when I run and try to connect with AWS appear  the next error


[MainMidlet]: Connecting to broker: ssl://

[MainMidlet]: MqttException system error:

        reason 32103

        msg    Unable to connect to server

        loc    Unable to connect to server

        cause -213 SSL-Error: revcd alert fatal error

        excep  Unable to connect to server (32103) - -213 SSL-Error: revcd alert fatal error


But when I try to connect with tcp://  works very good!!


My firmware is




A-REVISION 00.000.14