gerhard
(Gerhard Schlager)
07.Сентябрь.2019 00:13:36
7
Я не думаю, что Safari 6 заработает, даже если вы решите проблемы с TLS, добавив дополнительные наборы шифров.
Вы можете добавить отсутствующие наборы шифров, переопределив файл конфигурации nginx. Добавьте следующий фрагмент (не тестировался, но должен работать) в секцию hooks файла app.yml и измените значение ssl_ciphers на своё усмотрение.
after_ssl:
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
from: /ssl_ciphers .*/
to: ssl_ciphers <ваш_полный_список_шифров>;
Кстати: я пытаюсь добавить поддержку сертификатов на эллиптических кривых для Discourse, что позволит ему работать с IE11 «из коробки».
master ← elliptic_curve
merged 11:02PM - 09 Sep 19 UTC
[Mozilla](https://wiki.mozilla.org/Security/Server_Side_TLS) recommends ECDSA (P… -256) as certificate type for intermediate compatibility.
> ECDSA certificates are recommended over RSA certificates, as they allow the use of ECDHE with Windows 7 clients using Internet Explorer 11
Most modern browsers will use cipher suites with the ECDSA certificate. Older browsers will select the RSA certificate and a RSA cipher suite.
It will create two Let's Encrypt certificates:
* EC 256 bits (SHA256withRSA)
* RSA 4096 bits (SHA256withRSA)
Without this change all the ECDSA cipher suites defined in https://github.com/discourse/discourse_docker/blob/12f501764f57c827e497eb6fb88e98f8c3c468e6/templates/web.ssl.template.yml#L22 won't work. With the new certificate all cipher suites will work and browsers like IE11 on Windows 7 and Windows 8 will work too.
**Before:**

**After:**
