Skip to content
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

Test #44

Open
yzdocs opened this issue May 10, 2021 · 0 comments
Open

Test #44

yzdocs opened this issue May 10, 2021 · 0 comments

Comments

@yzdocs
Copy link
Owner

yzdocs commented May 10, 2021

It is now possible to enable TLS for the web UI console of cockroach demo with the new flag --secure-http. This makes it possible to expose the HTTP interface to a shared network. Note however that this configuration still uses an ephemeral self-signed CA generated by demo itself, and is thus insufficient for use by end users web browsers directly: it should still be combined with a HTTP proxy that exposes the service using a public CA. This feature is not enabled by default. The network address bound by cockroach demo simulated nodes is now configurable via the new command-line flags --http-addr (for the HTTP interface) and --sql-addr (for the TCP interface for SQL clients). The default for these flags results in the same configuration as in previous versions, that is, the demo nodes only listen on 127.0.0.1. Note that --http-addr cannot be used without passing --secure-http explicitly (either via --secure-http=true or --secure-http=false), so as to clearly signal intent. The CommonName (CN) field of the TLS server certificate generated for the HTTP port in cockroach demo (when --secure-http is used) is now configurable via the new flag --http-advertise-addr. This is also the address displayed in the web UI URLs printed to the user via the %5Cdemo ls client-side command. The default for this value is the same as --http-addr.

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

No branches or pull requests

1 participant