Enabling TLS 1.3

Is it possible to enable TLS 1.3 on Discourse? How is the local Nginx configured?

We disabled TLS 1.0 and 1.1 in mid 2018 per this topic.

Do we have TLS 1.3 support at least enabled somewhere @mpalmer?

2개의 좋아요

No, I don’t think we’ve turned on TLS 1.3 anywhere yet.

3개의 좋아요

We run NGINX 1.5 at the moment in the containers:

Per:

We only enable TLSv1.2

I am mixed on enabling TLSv1.3 until RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3 | RFC Editor is ratified though.

For the time being simply adding another template after the ssl template with:

- replace:
   hook: ssl
   filename: "/etc/nginx/conf.d/discourse.conf"
   from: ssl_protocols TLSv1.2;
   to: |
     ssl_protocols TLSv1.2 TLSv1.3;

Would do the trick, the question though is if this is a trick you want to do given the protocol is still not ratified (even though it is being implemented)

5개의 좋아요

We just release a new base image with support for TLS 1.3 :tada:.

8개의 좋아요

컨테이너 내부의 nginx 설정 파일을 확인해 보니 다음과 같은 설정이 있습니다:

SSL 설정

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # SSLv3 제거, 참조: POODLE

BEAST 공격 때문에 TLSv1과 TLSv1.1에 대한 참조를 제거해야 할까요?

두 가지 다른 사이트 점검 도구가 TLSv1과 TLSv1.1이 활성화되어 있지 않다고 알려주는데, 어디서 비활성화되는지 확실하지 않습니다.

여기에서 정의되어 있습니다