ArduinoGeneral

Problem with sim808 shield (SKU:TEL0097) and https get request

userHead Account cancelled 2018-10-15 14:45:55 2077 Views0 Replies
Hi, I recently bought the SIM808 GPS/GPRS/GSM Shield For Arduino (SKU:TEL0097) in the following link: https://www.dfrobot.com/product-1469.html
Since i'm developing an iot application i need to send some data to my server through rest api. The main problem that i'm facing now is that i'm not able to call my server pages using https but only using http.
I've already updated the firmware from 1418B01SIM808M32_BT to 1418B03SIM808M32_BT_EAT which is the most updated version i could have found online but the result is always the same.
This is a simple sequence of AT commands i use to try the https functionality:
Code: Select all
AT+HTTPINIT

OK
AT+HTTPPARA="URL","https://MY-HTTPS-SITE/ HTTP/1.1"

OK
AT+HTTPPARA="CID",1

OK
AT+HTTPSSL=1

OK
AT+HTTPACTION=0

OK
AT+HTTPREAD

OK

+HTTPACTION: 0,606,0
AT+HTTPTERM

OK

As you can see the HTTPACTION returns the error code 606 which means that there's some error with the https protocol or the certificate.
Can you please help me to solve that problem?

Thanks in advance