summaryrefslogtreecommitdiff
path: root/apache2/mods-available/gnutls.conf
blob: 310993891d0869a5e0ea847bbaa2e0554b885fb5 (plain)
  1. <IfModule mod_gnutls.c>
  2. # Use an SHMCB backed session cache unless you have special needs.
  3. # (The dbm backend has known memory leaks and should not be used).
  4. GnuTLSCache shmcb:${APACHE_RUN_DIR}/gnutls_cache(65536)
  5. # An alternative is to use a memcached server to store SSL sessions.
  6. # This is useful in a cluster environment,
  7. # where you want all your servers to share a single SSL session cache.
  8. #GnuTLSCache memcache "127.0.0.1 server2.example.com server3.example.com"
  9. # Require Perfect Forward Secrecy and recent TLS protocol versions
  10. # This should be supported by all SNI-capable browsers
  11. # You can validate e.g. at <https://www.ssllabs.com/ssltest/>
  12. GnuTLSPriorities PFS:-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:%SERVER_PRECEDENCE
  13. GnuTLSOCSPStapling off
  14. </IfModule>