Sim800c AT+SSLSETCERT Import SSL Client Client Certificate File with Private Key

I am using the sim800C GSM modem to connect to AWS IoT MQTT broker.

I have the device certificate (CA, Client & Private Key) files. I am able to create and import the ROOT certificate on to the modem easily. However, I am not clear how to import the client and private key files.

The AT+SSLSETCERT command seems to suggest that the Client and Private Key (PK) files must be imported as one file, I am not sure about it, Need inputs here.

  1. I imported only the Client cert. file without password parameter as its optional, the AT+SSLSETCERT was successful but could not connect to AWS simply got ERROR on sending AT+SMCONN.
  2. I merged both the Client & PK cert. files, the AT+SSLSETCERT fails to import hence cannot connect to AWS.

I also tried the .p12 format using openssl which combined both Client & PK cert. files.

  • With pass phrase the AT+SSLSETCERT was successful but could not connect to AWS, kept getting ERROR on sending AT+SMCONN.
  • Without pass phrase AT+SSLSETCERT fails to import the file (same as 2).

Has anyone got sim800c working with AWS IoT? Please suggest!

@Ravi_Pujar @RaviPujar have you tried SIM800 with AWS IoT, do you have any suggestion?

I havent tried AWS IOT so far. So i dont have much idea on this.

Thanks @Ravi_Pujar for your prompt response.

@jaiminajmeri Hi have you had any luck on getting connected to AWS? I’m also unsure about how to combine the private key and certificate?

@JEFF I had no luck with it. I did contact simcom support to know if they do really support AWS MQTT.

The Sim800C module which I have had R14.8 firmware version, Please refer below screenshot for the full firmware version.

I think, if you have purchased the modem from an authorised seller may be then you can seek the support team to procure a firmware version that supports TLS1.2 and AWS MQTT. Otherwise there’s no hope, for me they suggested to use the A7672SL 4g modem as a replacement for sim800c.

My advise is that you better reach out their support team if you have purchased the modems from authorised seller.

Thanks for the reply! I have a SIM868E (which I think… supports TLS 1.2) So I’ll try again and post my findings… hopefully I can get it working, otherwise I’ll probably switch to another module as well

i trying to import the rootCA certificate file to GSM800c but getting import error .



can you help to get it solve.
thank you

Hi, my sim800c module firmware is 1418B06SIM800C24. I found 1418B01SIM800C32_BT_TLS12_EAT version but it doesn’t for my module (my module has 24 mb flash and this firmware is for 32 mb). any body have a tls firmware for sim800c24???