8000 Integrated SSL support. Modified echo example. by lgg2 · Pull Request #106 · Theldus/wsServer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Integrated SSL support. Modified echo example. #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lgg2
Copy link
@lgg2 lgg2 commented Nov 15, 2024

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.

… and must compile the "always" (`ws`) version. It is only a bit more difficult to read the code by the conditions, but same use and implpementation.
@Theldus
Copy link
Owner
Theldus commented Nov 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0