Skip to content

Create a SSL version of the example_browserclient so that the example can be run on a remote server with a self signed CA certificate. - #84

Open
danielwoz wants to merge 3 commits into
KoljaB:masterfrom
danielwoz:master
Open

Create a SSL version of the example_browserclient so that the example can be run on a remote server with a self signed CA certificate.#84
danielwoz wants to merge 3 commits into
KoljaB:masterfrom
danielwoz:master

Conversation

@danielwoz

Copy link
Copy Markdown
Contributor

No description provided.

… can be run on a remote server with a self signed CA certificate.
@tk-1001

tk-1001 commented Jan 2, 2026

Copy link
Copy Markdown

This seems like a useful feature. Just a quick question shouldn't there be some kind of mechanism for creation of self signed certificates or do people should just switch test keys at the end?

# Conflicts:
#	example_browserclient/client.js
#	example_browserclient/server.py
@danielwoz

Copy link
Copy Markdown
Contributor Author

Good question — didn't have a good answer for a while, but just pushed docs on this in nginx/certs/README.txt.

Keeping the committed test keys as-is for convenience (SSL works out of the box), but added two options for trust:

  1. No setup: open https://<host>:8002/ once and click through the browser warning — that exception covers the wss:// connection too, no CA install needed.
  2. No warnings at all: use mkcert instead, which gives each machine its own local CA rather than everyone sharing the key committed here.

Open to other ideas if you think there's a better approach here.

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.

2 participants