Integrated SSL support. Modified echo example.
Hello,
Again and again. This must work. Minimal changes made.
To ws, skip to including the cert and cert_key paths (or blank string) in ws_socket call struct.
To wss include a valid certificate and key for it.
I have include a localhost certificate to test. It must be added a exception in the browser. For this, run the echo example in wss mode and tell to the browser to add a exception over https://localhost:8080 (in case of default values). After, it will work without problems.
Hi @lgg2, Thank you for your second PR regarding SSL.
At the moment, I’m a bit busy and also involved in another open-source project, so it may take me some time to review this PR.
There are a few aspects of this PR that concern me, such as commented-out code and similar issues, but please leave it as it is, and I’ll review it when I have the time.
Additionally, since SSL support is a sensitive feature, I plan to give it special attention when I can. I appreciate your patience, and I kindly ask you to keep this PR open.
I can attest that this patch works and works well. I included it in my project and works fantastically