Since Chatterbox does not have TLS service, according to Apple’s 2024 specification, any connection without TLS will be rejected for audit, so I used plugin.solarwebsockets to replace the Chatterbox function.
After three days of research, I finally successfully added TLS service to plugin.solarwebsockets.
First of all, I would like to thank joehinkle11 for making such a great plugin, and I would also like to thank develephant for teaching me the core operation of the server in the past.
The following tutorial is only for adding TLS service, which still depends on plugin.solarwebsockets, so you must refer to the API in the plugin to achieve other functions you want.
Since solarwebsockets itself does not support TLS server, you must add a JS configuration file to the server.
Next, I will introduce it in 3 parts, namely ubuntu, the js configuration file inside, and the logic used by the front-end solar2d.
Since I live in Taiwan, the annotation will be written in the language I am used to, and those who need it will be translate.