Https server for ELS61 | Telit Cinterion IoT Developer Community
February 7, 2023 - 3:32pm, 190 views
Hi,
I've implemented an HTTP server obnboard on a ELS61 module (using the javax.microedition.io.ServerSocketConnection API) that is serving web pages on port 80. It is working with no problems.
I'm guessing whether it is possible in any way to implement a secure server connection (HTTPS/SSL) on this module.. I know that the module is supporting HTTPS/SSL when data is sent from the module to a remote server, but it seems the opposite way is not supported, isn't it?
Marco
Hello Marco,
You are right that this functionality is not available. There is no API for this. There is also no mechanism for getting the server certificate from the keystore.
So, you would have to use some third party libraries to implement this, for example Bouncy Castle. It is quite a have weight library for this module and you'd probably have to do some adaptations in the code but the goal should be achievable.
Here I played with it some time ago to implement an FTPS client:
https://iot-developer.thalesgroup.com/showcase/java-explicit-ftps-implem...
Best regards,
Bartłomiej
Hi Bartlomiej,
thank you very much for your answer. I would have a look to the solution you've suggested later on.
Best regards
Marco