]> git.ipfire.org Git - thirdparty/squid.git/commit
Sort CA certificates in tls-cert=bundle (#1177)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 10 Nov 2022 02:01:29 +0000 (02:01 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 10 Nov 2022 02:01:32 +0000 (02:01 +0000)
commit53eede78add89e343796aad2e78db29a5b982adb
treeb3d0cd3978d08c64e023edc2f7f6077ba904c302
parenta555a85bc12e5a50db3305b70556d2807a42a7bb
Sort CA certificates in tls-cert=bundle (#1177)

... as opposed to requiring the bundle to contain CA certificates in the
correct on-the-wire/issuing order and warning about (and then ignoring)
out-of-order bundled certificates.

This enhancement makes it easier to configure Squid to send the right
intermediate certificates, especially during certificate upgrades when
intermediate certificates (which may be obtained from a source not
tightly coordinated with the signing certificate source) is likely to
contain a mix of old and new intermediate certificates.

Squid has to (and did) check the certificate issuing order anyway. The
new code uses very similar checks to sort intermediate certificates.

No on-the-wire changes expected for Squid configurations that have
correctly ordered certificate bundles. Other configurations may start
sending the previously missing intermediate certificates.
src/security/KeyData.cc