Comparison

prosody.cfg.lua.dist @ 12332:0d245034600a

prosody.cfg.lua.dist: Remove require_encryption options Reasons: - These now default to enabled when not specified since 38b5b05407be - Practically all servers require encryption these days for c2s/s2s. - Disabling encryption can be considered a special case that doesn't need to be in the default config file.
author Matthew Wild <mwild1@gmail.com>
date Mon, 14 Feb 2022 15:58:08 +0000
parent 12327:4d6f4f6d0814
child 12334:e621bb7bb623
comparison
equal deleted inserted replaced
12331:49739369dcad 12332:0d245034600a
103 103
104 -- Disable account creation by default, for security 104 -- Disable account creation by default, for security
105 -- For more information see https://prosody.im/doc/creating_accounts 105 -- For more information see https://prosody.im/doc/creating_accounts
106 allow_registration = false 106 allow_registration = false
107 107
108 -- Force clients to use encrypted connections? This option will
109 -- prevent clients from authenticating unless they are using encryption.
110
111 c2s_require_encryption = true
112
113 -- Force servers to use encrypted connections? This option will
114 -- prevent servers from authenticating unless they are using encryption.
115
116 s2s_require_encryption = true
117
118 -- Force certificate authentication for server-to-server connections? 108 -- Force certificate authentication for server-to-server connections?
119 109
120 s2s_secure_auth = false 110 s2s_secure_auth = false
121 111
122 -- Some servers have invalid or self-signed certificates. You can list 112 -- Some servers have invalid or self-signed certificates. You can list