Using TLS 1.3 with Phoenix

Thank you very much for that hint. You were absolutely right, and as soon as I removed :secure_renegotiate it threw up exact same error for the next 3 options as I fixed them:

  • reuse_sessions,
  • next_protocols_advertised,
  • alpn_preferred_protocols

Unfortunately, it seems that setting these options to false is not enough and I had to remove them in ranch before running ssl:listen. It’s probably possible to also do the same by removing the forced addition of these options in Plug and Plug Cowboy packages.