summaryrefslogtreecommitdiff
path: root/ejabberd/defs.yml
blob: 8c7a4f67e25fd6764506b63e805c880bb7f591dc (plain)
  1. # https://feeding.cloud.geek.nz/posts/running-your-own-xmpp-server-debian-ubuntu/
  2. # The default ciphers-setting is found here:
  3. # https://github.com/processone/tls/blob/master/c_src/p1_tls_drv.c
  4. # We use the default and exclude a few additional ciphers classified as weak
  5. # by xmpp.net.
  6. define_macro:
  7. 'TLS_OPTIONS':
  8. - "no_sslv2"
  9. - "no_sslv3"
  10. - "no_tlsv1"
  11. - "no_tlsv1_1"
  12. - "cipher_server_preference"
  13. 'TLS_CIPHERS': "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
  14. CERT_PATH: "/etc/ejabberd/ejabberd.pem"