Hello Quectel Team,
I am currently using the EC200U-CN module to communicate with my server over HTTPS.
Previous Setup:
Earlier, I was using HTTP and everything was working fine. Now I have migrated to HTTPS and have started using HTTPS-related AT commands for secure communication.
Current Implementation:
To enable HTTPS, I upload my server’s certificate to the module using the following command:
AT+QFUPL="UFS:cacert.pem",1590
This works perfectly. After uploading the certificate, the module successfully communicates with the HTTPS server.
Issue:
The issue I am facing now is certificate expiry. I retrieve my server’s certificate using the following command in the terminal:
openssl s_client -showcerts -connect <server_address>:443
However, the certificate retrieved has an expiry date (a few days to a month). Once it expires, the GSM module stops communication with the server.
Question:
- Is there any way to dynamically manage or update the certificate on the EC200U module?
- Can the GSM module automatically fetch the certificate during HTTPS connection and validate it without manual upload?
- If not, what is the best recommended practice for updating the certificate before expiry, especially for remote/deployed devices?
My main goal is to make the system more robust and not depend on manual intervention to keep updating certificates every few days.
Any guidance or recommended approach from Quectel would be highly appreciated.
Thanks,
Sachin