diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2025-07-15 22:22:53 +0400 |
|---|---|---|
| committer | pluknet <s.kandaurov@f5.com> | 2025-10-08 19:56:41 +0400 |
| commit | 78d1ab5a2c00839a36ff6bac661d9785fce3c1a4 (patch) | |
| tree | 4ac4bd5b44b6d092cd32e32e0b824323235b31a7 /src/http/v3 | |
| parent | 25b03d650087b4d653f99a7ce65582ab565c5a44 (diff) | |
| download | nginx-78d1ab5a2c00839a36ff6bac661d9785fce3c1a4.tar.gz nginx-78d1ab5a2c00839a36ff6bac661d9785fce3c1a4.tar.bz2 | |
SSL: support for compressed server certificates with BoringSSL.
BoringSSL/AWS-LC provide two callbacks for each compression algorithm,
which may be used to compress and decompress certificates in runtime.
This change implements compression support with zlib, as enabled with
the ssl_certificate_compression directive. Compressed certificates
are stored in certificate exdata and reused in subsequent connections.
Notably, AWS-LC saves an X509 pointer in SSL connection, which allows
to use it from SSL_get_certificate() for caching purpose. In contrast,
BoringSSL reconstructs X509 on-the-fly, though given that it doesn't
support multiple certificates, always replacing previously configured
certificates, we use the last configured one from ssl->certs, instead.
Diffstat (limited to 'src/http/v3')
0 files changed, 0 insertions, 0 deletions
