Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How sim800 get ssl certificate?

Tags:

https

ssl

Sim800 supports SSL protocol. AT command "AT+CIPSSL" sets TCP to use SSL function. In the "sim800_series_ssl_application_note_v1.01.pdf" is noted that: "Module will automatic begin SSL certificate after TCP connected." My Problem: What is the exact meaning of the begin SSL certificate? what does sim800 do exactly? Does sim800 get SSL certificate from website? where does sim800 save SSL certificate?

like image 261
zsj Avatar asked May 03 '16 05:05

zsj


People also ask

Does SIM800c support SSL?

To receive Email, SIM800H and SIM800L support SSL encrypted POP3 protocol which is called POP3S. It will use special port, default port: 995.

Does SIM800L support HTTPS?

Library for GSM/GPRS module SIMCom SIM800L to make HTTP/S connections with GET and POST methods. This library supports power management, network registration, signal check, GPRS connectivity, HTTP/HTTPS protocols, GET/POST methods and software/hardware serials.


1 Answers

As far as I know, SIM800 has some certificates in it and when you use a TCP+SSL or HTTP+SSL connection it will automatically use those certificates.

If those certificates are not ok for you, you will need to use an SD card, save there the certificates you want and use the command AT+SSLSETCERT to set the certificate you saved on your SD card. Here you can find how to use the File System.

Usually the certificates that come with the module are enough and you won't need this. But for example they didn't work for me when I tried to communicate with Azure via MQTT. I had to encrypt the data myself using wolfSSL library and send it using TCP without SSL.

Note: Not all SIM800 modules have SD card support.

like image 123
Borja Tarazona Avatar answered Oct 28 '22 19:10

Borja Tarazona