diff --git a/roles/xmpp_server/templates/prosody.cfg.lua.j2 b/roles/xmpp_server/templates/prosody.cfg.lua.j2 index 86bbcd26e2cf35923ff57cfe3a87e5a243a365fc..110a533ff1296277da43a095996070ec654c05b7 100644 --- a/roles/xmpp_server/templates/prosody.cfg.lua.j2 +++ b/roles/xmpp_server/templates/prosody.cfg.lua.j2 @@ -55,12 +55,6 @@ c2s_ssl = { -- Configure TLS protocol and ciphers for client-to-server -- connections (direct TLS). -{% if ansible_distribution_release == "bullseye" %} -legacy_ssl_ssl = { - protocol = "{{ xmpp_server_tls_protocol }}"; - ciphers = "{{ xmpp_server_tls_ciphers }}"; -} -{% else %} c2s_direct_tls_ssl = { protocol = "{{ xmpp_server_tls_protocol }}"; ciphers = "{{ xmpp_server_tls_ciphers }}"; @@ -72,14 +66,9 @@ c2s_direct_tls_ssl = { -- in within this configuration context as well to fix the issue. dhparam = "/etc/ssl/private/{{ ansible_fqdn }}_xmpp.dh.pem"; } -{% endif %} -- Ports on which to have direct TLS/SSL. -{% if ansible_distribution_release == "bullseye" %} -legacy_ssl_ports = { 5223 } -{% else %} c2s_direct_tls_ports = { 5223 } -{% endif %} -- Force clients to use encrypted connection. c2s_require_encryption = true