ssl_dist.conf 791 B

123456789101112131415161718
  1. %% This additional config file is used when the config 'cluster.proto_dist' in emqx.conf is set to 'inet_tls'.
  2. %% Which means the EMQX nodes will connect to each other over TLS.
  3. %% For more information about inter-broker security, see: https://docs.emqx.com/en/enterprise/v5.3/deploy/cluster/security.html
  4. %% For more information in technical details see: http://erlang.org/doc/apps/ssl/ssl_distribution.html
  5. [{server,
  6. [
  7. %{log_level, debug}, %% NOTE: debug level logging impacts performance, and need to set EMQX logging level to 'debug'
  8. {certfile, "{{ platform_etc_dir }}/certs/cert.pem"},
  9. {keyfile, "{{ platform_etc_dir }}/certs/key.pem"},
  10. {cacertfile, "{{ platform_etc_dir }}/certs/cacert.pem"},
  11. {verify, verify_none}
  12. ]},
  13. {client,
  14. [
  15. {verify, verify_none}
  16. ]}].