-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
TLS Enabled by default, contrary to docs. #6912
Comments
You missed out an important part of the output:
If you follow the documentation about generating a configuration file using in the |
Hmm, is there no way to disable TLS without that? Two step docker deployments don't jive well with docker orchestration environments. Running |
if you're using an orchestration environment, you'll want to generate a configuration file, template it according to your needs, and deploy that. Don't |
What is the argument for not allowing environment based configuration? One could write a wrapper docker image that turns environment variables into a configuration file on each launch (which may ultimately be the route I go) but IIUC Synapse used to do that but has since stopped and that method of launching is now deprecated. Why was this deprecation done? |
It wasn't flexible enough, and was a nightmare to maintain. #5518 |
Description
When I launch the docker image per the readme instructions, I get an error about Synapse not being able to find TLS keys. The readme for docker deployment and the readme for TLS setup both specifically say that TLS is disabled by default and I have to take steps to enable TLS.
Recommended remediation: Make TLS disabled by default in the docker images OR update the docs to indicate that TLS is enabled by default and provide information in the setup docs about how to do this.
Steps to reproduce
Log Output
Note that the instructions at https://github.com/matrix-org/synapse/tree/master/docker#tls-support say:
Version information
Version: v1.9.1
Install method:
Docker
Platform:
Happens on both Windows and Linux Docker hosts.
The text was updated successfully, but these errors were encountered: