Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

WolfSSL for SIM800L #15

Closed
SciWax opened this issue Jul 17, 2020 · 2 comments
Closed

WolfSSL for SIM800L #15

SciWax opened this issue Jul 17, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@SciWax
Copy link

SciWax commented Jul 17, 2020

Dear ostaquet,

first thanks for your library. I have a problem with the security in regards of a modern backend of a server, which you've mentioned here: https://github.com/ostaquet/Arduino-SIM800L-driver#security-concerns

I get the error 606, when I want to send my data to a webserver (Putting all my data into an URL and trying to write them with a php-script into a database). That technique works with another webserver, but not with a certain one I have to use. I've potentially found information about how to get the WolfSSL library on the Arduino. I guess I also have to put a new certificate on the SIM800L? There is some information about how to do it potentially, but which certificate do I have to use? One which is provided by WolfSSL I guess?

Did you personally already try to make a SIM800L work with WolfSSL, when 606 or 605 pops up?

I've got the version:

14:19:22.162 -> AT+GSV

14:19:22.196 -> SIMCOM_Ltd
14:19:22.196 -> SIMCOM_SIM800L
14:19:22.196 -> Revision:1418B04SIM800L24
@ostaquet
Copy link
Owner

ostaquet commented Jul 19, 2020

There are two main issues with the IP stack of the SIM800L.

First, the certificates embedded on the SIM800L are quite outdated (January 2016) and should be updated. By uploading new certificates, you can solve this issue... but not the next one...

Second, the encryption technologies embedded on the SIM800L are completely outdated (SSL2, SSL3 and TLS1.0) and many cloud infrastructure (AWS, GCP...) don't accept those old protocol anymore for security reasons.

I didn't use personally WolfSSL. WolfSSL is a library to support the SSL layer and especially the most recent implementation like TLS1.2 or TLS1.3. I guess that WolfSSL has a mechanism to keep the certificates up to date (should be normal).

I'm afraid that if you want to make the SIM800L working with WolfSSL, you will need to use the lower part of the IP stack of the SIM800L (HTTP with WolfSSL on top or even at TCP level...). The support team of WolfSSL will probably be able to support you as it is a commercial product.

@ostaquet ostaquet self-assigned this Jul 19, 2020
@ostaquet ostaquet added the question Further information is requested label Jul 19, 2020
@ostaquet ostaquet pinned this issue Jul 19, 2020
@SciWax
Copy link
Author

SciWax commented Jul 19, 2020

Thank you for answering the question. Guess I need an alternative to that modem with an up-to-date IP-Stack....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants