HTTPS with SIM800H ?

Adafruit cellular platform - SMS and IoT over celluar

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
phil_mcc
 
Posts: 7
Joined: Fri Apr 13, 2018 4:24 pm

HTTPS with SIM800H ?

Post by phil_mcc »

When attempting to set up the FONA 800 breakout (which has the SIM800H on board) to GET or POST to https sites the command
AT+HTTPSSL=1
returns
error

This rather implies that SIM800H does not actually support access to https sites. e.g. see

SIM800+Series_SSL_Application+Note_V1.00.pdf

Can you confirm this is the case before I spend more time attempting to get it working?

I see there are arduino libs specifically for https but they appear to talk to the SIM800L chipset. Do adafruit have a breakout / library for this chipset?

This is the first time I've experienced a major problem with adafruit kit and code (and all the other test code for FONA worked out of the box), so I AM a fan, but I do need https access

Thanks in Advance

Phil

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

Re: HTTPS with SIM800H ?

Post by blnkjns »

I think this is impossible. First the module only supports GPRS, which is like a classic beep-beep telephone line modem in speed. Second, for HTTPS you need to have a certificate, you need to be able to process encryption (which is pretty tough for 8-bit Arduino's without encryption engine), and you need accurate time and dates as certifcates are time-dependent.
What site are you going to access? The average modern HTTPS site has a page size of 2MB, which on GPRS will take forever. But GPRS is fine for basic stuff: sending an e-mail, reading weather info, reaching out to a time server, sending sensor or log data to your server. Stuff like that.

User avatar
phil_mcc
 
Posts: 7
Joined: Fri Apr 13, 2018 4:24 pm

Re: HTTPS with SIM800H ?

Post by phil_mcc »

Thanks for the comment, blnkjns. The issue of trying to use https is not one of volume but of security: the recipient of the POST or email or what ever protocol I use does not relish having an http port open to all and sundry. However, the SIM800L chipset (rather than H) appears to have certificates (according to the SIM800 document) , and AT+HTTPSSL=1 should work with the H chips. This is the key command I believe. Hence my question to adafruit to confirm definitely definitely that the L version (SIM800L) doesn't have this capability.

'best

User avatar
phil_mcc
 
Posts: 7
Joined: Fri Apr 13, 2018 4:24 pm

Re: HTTPS with SIM800H ?

Post by phil_mcc »

Aaaagh: sorry got the chip names swapped in previous post: it is the SIM800L which appears to have SSL capability, SIM800H which does not

Locked
Please be positive and constructive with your questions and comments.

Return to “FONA”