What does a post-quantum upgrade of Squid involve today?
This section is for platform and security engineers deciding what a post-quantum change to Squid would require, along with the security leads and vendor-risk reviewers who must record the answer. As of 2026-12-03, the Squid v7 documentation and the Squid 7.8 release notes show no post-quantum algorithm and no hybrid key exchange setting. The upgrade path therefore runs through the TLS library Squid is built with, and through the settings that choose its handshake and certificate behavior. The Squid Foundation states that it does not provide user support, so questions about support or timelines should go to the distribution or support provider you use.
Start by confirming which library your build uses. The v7 ssl_bump and sslproxy_cert_sign_hash documentation says available hashes and ciphers depend on the OpenSSL or GnuTLS library Squid is built with, and the --with-openssl build option is required for ssl_bump. Record the library name and version from your build or package, then check that library's own documentation for post-quantum key exchange support, since no Squid directive for choosing TLS key exchange groups appears on the http_port page. Check your http_port listeners for tls-dh= and cipher= settings, since those decide the ephemeral key exchange and cipher list, and note that cipher= has no default list in the entry.
Next, inventory the certificate side. The v7 documentation lets you set tls-cert= and tls-key= on a listener, and the sslproxy_cert_sign_hash directive defaults to sha256 on Squids that support it. The SslBumpExplicit example generates a CA with an RSA 2048-bit key and 365-day validity, which is an example command, not a recommendation. Confirm with your PKI owner which key types your CA and generated certificates use. The generate-host-certificates option is enabled by default when ssl-bump is used, so review those generated certificates in any TLS interception deployment. Ask your vendor or distribution to confirm whether a newer library build changes these defaults.
Which Squid components and versions the upgrade question applies to
This table lists each Squid component that touches TLS, with the v7 facts that apply to it and the source for each. Use it as a checklist when an assessor asks which settings and build options a post-quantum upgrade would touch. The main takeaway is that no row in the v7 documentation names a post-quantum algorithm, and the 7.8 release notes describe no cryptographic algorithm change.
| Component | What the v7 facts state | Source |
|---|---|---|
| TLS listener (http_port tls-cert, tls-key, tls-dh, cipher) | tls-cert= takes a PEM X.509 certificate, tls-key= takes the matching PEM private key, and cipher= takes a colon separated cipher list with no default list given. tls-dh= sets ephemeral DH or ECDH parameters, and no http_port directive selects TLS key exchange groups. | Squid v7 http_port docs, Squid config directive index |
| TLS interception (ssl_bump, generate-host-certificates, sslproxy_cert_sign_hash) | ssl_bump actions are splice, bump, peek, stare and terminate, and bumping requires a build with --with-openssl. generate-host-certificates is enabled by default with ssl-bump, and sslproxy_cert_sign_hash defaults to sha256 with values that depend on the OpenSSL library. | Squid v7 ssl_bump docs, Squid v7 http_port docs, Squid v7 sslproxy_cert_sign_hash docs |
| Certificate helper and generated certificate key size | The helper requires a build with --enable-ssl-crtd. The SslBumpExplicit example generates an RSA 2048-bit CA valid for 365 days, while the GnuTLS example states no key size, and sslproxy_cert_adapt says nothing about key size. | Squid SslBumpExplicit wiki, Squid v7 sslproxy_cert_adapt docs |
| Parent TLS (cache_peer tls, tls-min-version, sslcipher) | The tls option enables TLS to a parent proxy, tls-min-version defaults to 1.0, and sslcipher sets the cipher list. The entry does not list post-quantum algorithms. | Squid v7 cache_peer docs |
| Build dependency (OpenSSL or GnuTLS, --with-openssl, --enable-ssl-crtd) | The available hashes and ciphers depend on the OpenSSL or GnuTLS library the build uses. The 7.8 build change applies OpenSSL pkg-config settings before checking headers, and no 7.8 note describes an algorithm change. | Squid 7.8 release notes, Squid v7 sslproxy_cert_sign_hash docs |
| Post-quantum algorithm names in v7 settings | None of the checked http_port, tls_outgoing_options, cache_peer, ssl_bump or SslPeekAndSplice pages mentions ML-KEM, ML-DSA, SLH-DSA, X25519MLKEM768 or post-quantum cryptography, as of 2026-12-03. | Squid v7 http_port docs, Squid tls_outgoing_options docs, Squid SslPeekAndSplice wiki |
| Release notes for 7.8 | The notes list removal of the unimplemented sslflags=DELAYED_AUTH option and the OpenSSL pkg-config build change, and describe no cryptographic algorithm changes. | Squid 7.8 release notes |
Which parts of Squid an upgrade would touch
An upgrade to post-quantum-capable TLS in Squid would not be a single switch. The work spans the listener, the certificate and key files, the cipher and curve settings, the ssl-bump certificate generation, the parent-proxy options, the linked TLS library and the certificate helper. The Squid pages checked name no Squid-specific algorithm list, so each card below points to what the library and build determine.
TLS listener and certificate files
The http_port directive with tls-cert= sets the PEM X.509 certificate presented in the ServerHello, and tls-key= names the matching private key. If tls-key= is omitted, the tls-cert= file must hold both. A library upgrade that adds new signature or key types would change what certificates and keys this listener can carry, so confirm the certificate and key types your build accepts before reissuing anything.
Cipher and curve settings
The cipher= option on http_port takes a colon-separated list, and the entry gives no default list. The tls-dh=[curve:]file option controls ephemeral DH and ECDH, and SINGLE_ECDH_USE takes its curve from it. Curves can be listed with openssl ecparam -list_curves. Whether any key exchange group beyond today's classical curves can be selected depends on the linked library, and no Squid directive for choosing TLS key exchange groups appears on the http_port page.
Certificate generation for ssl-bump
With ssl-bump, Squid generates server certificates for bumped destinations, signed with the configured CA. The sslproxy_cert_sign_hash option sets the signing hash, and by default Squid uses sha256 where the option is supported. Valid hash names depend on the OpenSSL library, so a library change can alter which hashes are available and the default may need review. The Squid pages say nothing about key size for generated certificates, so confirm the key size in your own CA setup.
Parent-proxy TLS options
The cache_peer directive controls TLS to a parent proxy through the tls option, tls-min-version, tls-options, sslcipher, sslcert, sslkey, and CA settings. Each of these inherits the cipher and version behavior of the linked library. Check both ends of a parent link after any library change, because a cipher or version that one side drops will break the connection.
OpenSSL or GnuTLS library
Squid's TLS handshakes, certificate verification and generated-certificate signatures run through the OpenSSL or GnuTLS library the binary is built against. That library determines the available hashes, ciphers and key exchange options. The Squid pages checked say so directly and name no Squid-specific algorithm list. A library upgrade is therefore the main route by which a new algorithm could reach Squid, and the build must be checked against the library version in use.
sslproxy_cert_sign_hash docsCertificate helper and --enable-ssl-crtd
The certificate helper, configured as sslcrtd_program with security_file_certgen, generates the certificates Squid presents during bumping. It exists only in a build made with --enable-ssl-crtd, and the helper's cache directory is set up with security_file_certgen -c. A library-level change would reach generated certificates through this helper, so a rebuild with the helper enabled must be retested end to end after any change to the TLS library.
How the upgrade path differs by deployment
When you compile Squid yourself, the TLS library and configure flags are your choice, so you control the cryptographic build. Squid's TLS features depend on the OpenSSL or GnuTLS library it is built against, and the Squid pages checked do not name a post-quantum algorithm or key exchange group in any release. Your upgrade work therefore starts with the library version you link and the options you pass at build time.
- Library version: Record the OpenSSL or GnuTLS version Squid is linked against, since hashes, ciphers and curves depend on it.
- Configure flags: Confirm flags such as
--with-openssland--enable-ssl-crtdthat the TLS and certificate features require. - Curve and cipher support: Run
openssl ecparam -list_curvesagainst the linked library to see which curvestls-dhcan reference. - Release notes: Review the release notes for each Squid version you build, such as the 7.8 build change to OpenSSL pkg-config handling.
- Rebuild and retest: Any library upgrade means rebuilding Squid and retesting listeners,
ssl_bumpandcache_peerconnections.
Before you ship a self-built binary, confirm with the library documentation which algorithms your exact library build supports, and keep that record with your inventory.
A Squid package from a Linux distribution takes its OpenSSL or GnuTLS version and build flags from the distribution, not from the Squid project. The distribution decides when the library is updated and which options are enabled, so your upgrade path follows the distribution's schedule. Squid's own documentation does not describe distribution packaging decisions, so the package notes are the source to check.
- Package notes: Read the distribution's changelog and build notes for the installed Squid package to see the library and flags used.
- Library updates: Track when the distribution ships a newer OpenSSL or GnuTLS, since Squid picks up library changes through that package.
- Enabled features: Confirm whether the package includes SSL bumping and certificate generation, because those features depend on the build.
- Backports: Ask whether security fixes arrive as backports to an older Squid version, which affects what you can compare to upstream release notes.
- Version reporting: Use
squid -von the installed binary to record the build options actually in use.
Ask the distribution's support channel to confirm the library version and any post-quantum support in its package, because the Squid project pages do not give that information.
When Squid runs only as an outbound forwarder and reaches a parent proxy over TLS through cache_peer with the tls option, the parent's support matters more than Squid's own listener. The TLS handshake to the parent is governed by the options you set on cache_peer, such as tls-min-version, tls-options, sslcipher and the CA settings, and by what the parent accepts. Squid's listener settings for inbound clients do not apply to this path.
- Parent support: Ask the parent proxy's operator which key exchange and signature algorithms it accepts, since that sets what the connection can negotiate.
- Cache_peer TLS options: Review
tls-min-version, which defaults to 1.0, andtls-options,sslcipherandtls-cafilefor the parent link. - Client certificates: If you present
sslcertandsslkey, check which key type your certificate and the parent's verification rely on. - Certificate verification: Confirm
tls-default-caand the CA files that verify the parent, since its default is ON for the system trusted CAs. - Interception interaction: If
ssl_bumpis also active, note that bumped traffic may use generated certificates signed with the hash set bysslproxy_cert_sign_hash.
Squid's handshake behaviour toward a parent comes from the parent and the library, so get the parent's written statement on its algorithm support before you plan this path. Federal or CNSA 2.0 contract requirements, where they apply, belong to the contract owner, since the Squid pages checked give no FIPS or CNSA 2.0 statement.
What a team should do next, in order
Following these steps in sequence gives a team a dated record of the Squid build and TLS settings in use, a list of every place those settings apply, and a tested, documented decision on any change. Each step closes with a check the team can repeat.
Record the Squid build and TLS library
The engineer who runs the Squid host captures the output of
squid -vand the build configuration, then notes the Squid version, the OpenSSL or GnuTLS version Squid is linked against, and the build flags, including whether the binary was built with--with-openssland--enable-ssl-crtd. Store this record with the date it was taken. The step is done when the record matches what is running on each production host, not only on the build server. Confirm the linked library with the library version reported at runtime, since a host can run a different library build than the one used to compile Squid.Inventory every TLS setting in use
The engineer lists every
http_portline withtls-cert=,tls-key=,tls-dh=,cipher=andtls-default-ca, everycache_peerline that usestls,sslcert,sslkey,tls-cafileortls-min-version, and everyssl_bumprule along with thesslproxy_cert_sign_hash,sslproxy_cert_adaptandsslcrtd_programsettings that apply to generated certificates. The step is done when each entry is written down with the file it sits in and the host it applies to. Where a setting is absent, record that it is absent, because the documented default then applies and should be confirmed against the Squid version in use.Check for a post-quantum option in the release
The security lead reads the Squid Versions page and the release notes for the version in use and for any newer release, then checks the documentation of the OpenSSL or GnuTLS version linked into Squid for any post-quantum key exchange or signature option. Record each source checked, the date of the check and what it says. The step is done when the team has either a named option with its version and the setting that enables it, or a dated statement that no option was found in the sources checked. Do not infer support from the library's general release notes alone; confirm that Squid exposes the option through a configuration directive.
Test any change on a staging listener
The platform engineer applies the candidate change to a staging listener that mirrors one production
http_portorcache_peersetting, then connects with a client build that matches what production clients use. Confirm the handshake completes, the certificate chain validates, andssl_bumpdecisions behave as before. Keep the staging configuration and the test client version in the record. The step is done when the staged change produces the same results on every client type that uses the production listener, or when the differences are written down and accepted by the owner.Record the result with dates
The security lead writes a dated entry for each change tested, its outcome, the Squid and library versions involved, and the owner who approved it. Include the staging test result and any setting left unchanged with the reason. The step is done when the record can be handed to an auditor or vendor-risk reviewer without further explanation, and when the next review date is set. Repeat the inventory and version check whenever Squid, the linked TLS library or a listener configuration changes.
What Squid has not published and what to ask
The Squid documentation and release notes we checked on 2026-12-03 are silent on several points that matter for a post-quantum upgrade. The cards below list each gap and the question to put to the Squid project or to your distribution before you plan work or record an answer.
No post-quantum key exchange in listener or peer settings
The v7 http_port, tls_outgoing_options, cache_peer, ssl_bump and SslPeekAndSplice pages do not mention ML-KEM, ML-DSA, SLH-DSA, X25519MLKEM768 or any hybrid key exchange, as of 2026-12-03. The cipher= option on http_port gives no default list, so the groups actually negotiated depend on the OpenSSL build. Ask the project whether any post-quantum or hybrid group is supported in v7, and if so, which setting enables it and in which release. Ask your distribution which OpenSSL version its Squid package links against.
No directive for choosing key exchange groups
The v7 http_port page offers tls-dh=[curve:]file for ephemeral DH and ECDH parameters and says SINGLE_ECDH_USE takes its curve from tls-dh, but it gives no directive for selecting an ordered list of TLS key exchange groups. The curves available come from the OpenSSL library, which you can list with openssl ecparam -list_curves. Ask the project whether a group-selection directive is planned, and ask your distribution which curves its build enables.
No roadmap or FIPS statement in release material
The Squid Versions page and the 7.8 release notes, checked on 2026-12-03, publish no post-quantum roadmap and no FIPS or CNSA 2.0 statement. The 7.8 notes list the removal of the unimplemented sslflags=DELAYED_AUTH option and a build change, with no cryptographic algorithm changes. Ask the project for its published plan on post-quantum algorithms, and ask whether any FIPS or CNSA 2.0 position exists, in writing and with a date.
OpenSSL is the cryptographic module
In a 2005 squid-users reply, Henrik Nordstrom wrote that FIPS certification does not apply to Squid because Squid is not a cryptographic module, and that OpenSSL is the module Squid uses for SSL. That answer is over two decades old and predates current releases, so it does not state the present position. Ask the project whether this still holds for v7, and ask your distribution which OpenSSL version and validation status applies to the Squid build you run.
squid-users 2005 FIPS replyWhat can go wrong during a Squid TLS change
The most common failure in a Squid TLS change is an ssl_bump interception that stops working after a client or library update. The SslPeekAndSplice wiki says Squid's mimicked Client Hello covers only SSL v3 and TLS versions, that unsupported TLS extensions can make reliable bumping impossible, and that session resumption handling is limited. Before changing the build, test the clients that matter most, including any that send newer or uncommon extensions, and confirm each one still bumps or splices as intended. The wiki does not mention TLS 1.3 specifically, so confirm TLS 1.3 behavior in your own environment rather than assuming it.
A second risk is that peeking or staring at the server certificate usually prevents later bumping or splicing, according to the same wiki page. An ssl_bump rule that peeks at step SslBump1 or SslBump2 can therefore lock a connection into a path you did not intend. Because the v7 documentation evaluates all ssl_bump rules at each step, review the full rule order, not only the rule you are editing. Trace a few representative connections through the rules after any change to confirm which action each one takes.
Changes in the build or its libraries can also shift behavior without any setting being edited. The v7 sslproxy_cert_sign_hash documentation says the valid hash names depend on the OpenSSL library and that supporting Squids default to sha256, so a rebuild against a different OpenSSL can change the signing hash of generated certificates. Similarly, the cipher= option on http_port takes a colon separated list and gives no default list, so an omitted cipher list leaves the choice to the library. Record the OpenSSL or GnuTLS version and the effective cipher=, tls-dh= and sslproxy_cert_sign_hash values before and after each change, and confirm the output with a handshake test.
Questions engineers and vendor-risk reviewers ask about a Squid upgrade
Is Squid quantum safe?
As of 2026-12-03, no post-quantum option for Squid is documented. The v7 configuration pages for http_port, tls_outgoing_options, cache_peer and ssl_bump, and the SslPeekAndSplice wiki page, do not mention ML-KEM, ML-DSA, SLH-DSA, X25519MLKEM768 or post-quantum cryptography. Squid's TLS handshakes, certificate checks and generated certificates use public-key algorithms such as RSA and ECDH or ECDSA, and the algorithms actually available depend on the OpenSSL or GnuTLS library Squid is built with. Confirm the current status with the Squid project and with the library build you run, since neither the Squid Versions page nor the 7.8 release notes publish a post-quantum roadmap.
Does Squid have a hybrid post-quantum mode?
No hybrid mode appears in the Squid v7 documentation checked. The http_port page does not list a directive for choosing TLS key exchange groups, and tls-dh only takes DH parameters or a curve for ephemeral ECDH. Hybrid key exchange would depend on support in the TLS library, and the cipher= and tls-options settings only reach what that library offers. Ask the project or your library vendor whether a hybrid group such as X25519MLKEM768 is exposed in the build you run.
Which Squid version should I run for post-quantum support?
The facts give no Squid version that adds post-quantum support. The 7.8 release notes list removing the unimplemented sslflags=DELAYED_AUTH option and a build change that applies OpenSSL pkg-config settings before checking headers, and they describe no cryptographic algorithm changes. Because no version is documented with post-quantum support, the version choice does not change your answer today. Keep your Squid build current for other reasons, and check the release notes of each new version for crypto changes before you rely on one.
Does upgrading Squid for post-quantum readiness cost extra?
Squid itself is free and licensed under the GNU General Public License, and the Squid Software Foundation governs the project. The costs you should expect come from the environment around it: the OpenSSL or GnuTLS library you build against, the operating system packages you use, the staff time to test certificate and proxy changes, and any paid support arrangement with a distributor. The facts give no figures for any of these, and the Foundation says it does not provide user support itself. Ask any support provider to quote the build, testing and support as separate items, and state which library versions and configurations the quote covers.
What breaks if I change Squid's TLS settings?
Changes to TLS settings can break client connections, interception and upstream links, so test them in a non-production copy first. The main settings to check are tls-cert and tls-key on http_port, where omitting tls-key assumes both are in one file, and cipher, which takes a colon-separated list with no default in the entry. Changes to ssl_bump rules are evaluated at every step, and peeking at a server certificate usually stops later bumping or splicing. Generated-certificate signing depends on sslproxy_cert_sign_hash, where Squids supporting the option default to sha256, and the mimicked Client Hello covers only SSL v3 and TLS versions, so unsupported TLS extensions can prevent reliable bumping. Record every setting you change along with the library and build it applies to.
Can my team do a Squid TLS upgrade alone, or do we need outside help?
Your team can make the configuration and build changes alone if it already runs Squid and understands its TLS settings, because the facts show these are documented in the configuration manual and wiki. Outside help is worth considering when the work involves TLS interception, where certificate generation, the sslcrtd_program helper and CA handling are involved, or when you must produce audit evidence. DeployOpen implements, hardens, tests and documents self-hosted open-source platforms in your own infrastructure, and it prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Agree on the scope and deliverables in writing before any work starts.
What should I ask Squid or my support provider before planning an upgrade?
Ask whether a post-quantum algorithm is available in the exact Squid version and library build you run, and whether any key exchange group can be selected in configuration. Ask whether the project or vendor has published a roadmap, deprecation plan or transition guide, since none appear in the facts checked on 2026-12-03. Ask which OpenSSL or GnuTLS versions the build requires and how their updates reach your environment. Ask who supports the build, what that support covers and how it is priced. Put each answer in writing with its date, because these positions can change.
How DeployOpen helps plan and test a Squid TLS change
DeployOpen works through a Squid TLS change in stages: scope the listeners, upstreams and interception rules that would change, build and test the change in a staging copy, then hand over the configuration and evidence. Each step is set against the Squid build and OpenSSL or GnuTLS library the client actually runs.
How we scope
- Inventory every http_port, cache_peer and ssl_bump rule that terminates or originates TLS in the current configuration.
- Record the exact Squid version, build flags and linked TLS library, since available ciphers and hashes depend on them.
- Agree the written scope in advance, listing which listeners, upstreams and certificate workflows are included.
How we build
- Rebuild a staging Squid with the agreed options and confirm TLS features such as ssl-bump and crtd are compiled in.
- Test tls-cert, tls-key and cipher settings against the client's real clients, peers and interception traffic.
- Check the SslPeekAndSplice and certificate-generation behavior that the change touches, and log every deviation.
How we hand over
- Deliver the tested squid.conf changes with a dated record of the Squid and library versions used.
- Document each setting changed, its default, and the test result that confirmed it in the client's environment.
- Provide a rollback procedure and a list of open items the client's vendors or the Squid project still need to confirm.
How we support
- Support is available as a retainer for upgrades, configuration changes and retesting after each Squid release.
- Retesting covers any change in the Squid 7 line that affects TLS, checked against the published release notes.
- Ongoing support is quoted separately from the fixed-scope engagement, based on the agreed written scope.

