Member-only story

Pre-requisite
- Arduino with ESP32 board support (HOW?)
- SIM7600 Modem Module
- Installed two libraries — TinyGSM & SSLClient
Libraries used in this tutorial:
- vshymanskyy/TinyGSM — For GPRS/LTE and modem utilities
- govorox/SSLClient — Transparent SSL wrapper over existing transport object of a Client class
TinyGSM can be installed directly in the Arduino interface

SSLClient is not published and you need to install it manually (Here is the guide)
Codes are derived from the examples blow:
- TinyGSM — “All Functions” sample
- LilyGO-T-SIM7600X — “All Functions” sample
- SSLClient — “https_gsm_SIM7000” sample
How to obtain the CA cert
Run the command in your Git Bash, then look for the ROOT CERTIFICATE.
openssl s_client -showcerts -verify 5 -connect vsh.pp.ua:443 < /dev/null

Copy and paste into your Sublime Text / VS Code which can do the multi cursor and make it into certs.h
like below:

“
and \n”
in between the content of each lineConnect to your Mobile Operator
Make sure you provide the correct credentials for you to connect your operator:
Explain the SSLClient Usage
This part is to set up the HTTP Client on top of the transport (TinyGSM) and presentation (SSL) layers
Then adding the Root CA Cert in the setup()