File: tls-intermediate-nodhe.conf

package info (click to toggle)
nginx-snippets 1.0%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 64 kB
  • sloc: sh: 9; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Based on Mozilla TLS generator configurations

# Mozilla Guideline v5.7, nginx 1.27.3, OpenSSL 3.4.0, intermediate config, no HSTS, no OCSP
# last generated/retrieved on 2025-02-22 

# intermediate configuration, but DHE-* ciphers and dhparam are removed.
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519:prime256v1:secp384r1;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305;
ssl_prefer_server_ciphers off;

# see also ssl_session_ticket_key alternative to stateful session cache
ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m;  # about 40000 sessions