aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_ssl_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2022-10-12 20:14:57 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2022-10-12 20:14:57 +0300
commit4d61d59ae9ecc8f1a5f0f505bf0310035b0d9ce9 (patch)
treeb42effb9a903786bd6d79974811ecb1e37204207 /src/mail/ngx_mail_ssl_module.c
parent02314f0c3c70bad88ae3554eb66439a261898f24 (diff)
downloadnginx-4d61d59ae9ecc8f1a5f0f505bf0310035b0d9ce9.tar.gz
nginx-4d61d59ae9ecc8f1a5f0f505bf0310035b0d9ce9.zip
SSL: workaround for session timeout handling with TLSv1.3.
OpenSSL with TLSv1.3 updates the session creation time on session resumption and keeps the session timeout unmodified, making it possible to maintain the session forever, bypassing client certificate expiration and revocation. To make sure session timeouts are actually used, we now update the session creation time and reduce the session timeout accordingly. BoringSSL with TLSv1.3 ignores configured session timeouts and uses a hardcoded timeout instead, 7 days. So we update session timeout to the configured value as soon as a session is created.
Diffstat (limited to 'src/mail/ngx_mail_ssl_module.c')
0 files changed, 0 insertions, 0 deletions