Your server’s OpenSSL is shared. Your SSH daemon uses it, your Python scripts use it, and so do curl and your mail server. With the nginx and Angie packages from deb.myguard.nl, the web server does not: it brings its own.
In short: openssl-nginx is a dedicated OpenSSL build that ships with those packages. The package apt installs for it is called libssl-nginx, and it arrives automatically with either server. It carries OpenSSL 4.0, leaves out a long list of old algorithms and adds two small patches. Here’s what it is, how it differs from Debian’s own OpenSSL, and how to check what your server runs on.
What openssl-nginx is and what you install
The name is a small trap. There is no package called openssl-nginx to install: that is the name of the build and of its source package. The runtime package is libssl-nginx, and the headers are in libssl-nginx-dev.
You never have to ask for it by name. The nginx, nginx-minimal, angie and angie-minimal packages all depend on it, and so do the modules built for them that use TLS. As of 24 November 2026 the version is 4.0.3. It is published for Debian bookworm and trixie and for Ubuntu jammy, noble and resolute, on amd64 and arm64.
The package installs two libraries, libssl-nginx.so.4 and libcrypto-nginx.so.4, alongside your system’s libssl.so.3. They coexist without conflict. Your SSH daemon, Python scripts and everything else keep using the system OpenSSL, and only nginx, Angie and their modules load the dedicated one. It’s like having a specialist chef in your kitchen while the rest of the team carries on with their Swiss Army knives.

One consequence catches people out. The package ships no openssl command, so openssl version on the server reports the system library, not the one nginx runs on. Use nginx -V instead; the exact line is in the install section below.
Why not the distribution’s OpenSSL
A distribution packages OpenSSL once, for every program on the system. That library has to work for SSH daemons, Python and Ruby crypto modules, mail servers, database connectors and hundreds of other things. They all expect a general-purpose library, much as the OpenSSL project ships it by default.
That has two effects. A general-purpose build keeps most old algorithms compiled in: Debian’s disables only IDEA, MDC2, RC5 and SSLv3. And a stable release stays on the OpenSSL series it shipped with. As of 24 November 2026, Debian 12 ships OpenSSL 3.0 and Debian 13 ships 3.5, while 4.0 is in experimental only.
None of this makes the distribution’s library a bad one. Upstream released 3.5.0 on 8 April 2025 and 4.0.0 on 14 April 2026. A web server that only terminates TLS can follow upstream more closely and drop what it never uses. That is the whole idea of a separate build.
What the build changes compared with Debian’s
An earlier version of this page listed kernel TLS and optimised curves as things only a custom build has. Debian’s own build file shows otherwise. The table sets libssl-nginx next to the OpenSSL that Debian 13 ships, so you can see what really differs.
libssl-nginx (our build) | Debian 13’s own OpenSSL | |
|---|---|---|
| OpenSSL version | 4.0.3 | 3.5 series |
| Kernel TLS (kTLS) | compiled in | compiled in |
| TCP Fast Open | compiled in | compiled in |
Optimised NIST curves (ec_nistp_64_gcc_128) | yes, amd64 and arm64 | yes, same architectures |
| QUIC | on | on (upstream default, not disabled) |
| Certificate compression libraries | zlib, brotli, zstd | zlib, zstd |
| RDRAND support | left in | disabled (no-rdrand) |
| Algorithms removed | RC2, RC4, RC5, DES, MD2, MD4, IDEA, MDC2, SEED, Blowfish, CAST, Camellia, SRP, DSA, Whirlpool, RIPEMD-160 | IDEA, MDC2, RC5 |
| Legacy and FIPS providers | not shipped | built (enable-fips; legacy provider packaged separately) |
openssl command | not shipped | separate openssl package |
| Extra patches | asynchronous session lookup; ClientHello extension order accessor | not applicable |
debian/rules of openssl 3.5.9-1~deb13u1 and Debian’s changelog, read on 24 November 2026. Ubuntu was not checked.A newer OpenSSL
The build follows upstream’s 4.0 line. The current package is 4.0.3, upstream’s security patch release of 29 September 2026. Two changes in 4.0 matter here: SSLv3 and engines are removed, and the library gains support for Encrypted Client Hello (ECH).
ML-KEM, the NIST-standardised post-quantum key encapsulation mechanism, is not new in 4.0. It arrived in OpenSSL 3.5.0, so Debian 13’s own OpenSSL has it too.
What is left out
Disabled at compile time: RC2, RC4, RC5, DES, MD2, MD4, IDEA, MDC2, SEED, Blowfish, CAST, Camellia, SRP, DSA, Whirlpool and RIPEMD-160. The legacy and FIPS providers are not shipped either, nor are openssl.cnf and the man pages. MD5 and SHA-1 stay, on purpose.
Your web server needs none of the removed algorithms, and a configuration cannot switch on what is not compiled in. The other side of that coin: if your web server must use the FIPS provider, this build is not the one for it.
What is the same
Kernel TLS is compiled in on both sides; Debian has enabled it since its OpenSSL 3.0 packaging. The enable-ec_nistp_64_gcc_128 flag is set by both, for the same architectures. Upstream describes it as optimised implementations of some commonly used NIST elliptic curves, for compilers that have __uint128_t.
QUIC is on in both as well. Our build passes enable-quic, which provides the QUIC API that nginx needs for HTTP/3, and Debian does not disable it.
Two rows need a note. In our build the compression libraries serve certificate compression (RFC 8879), and TLS record compression stays off. Debian passes no-rdrand and our build does not, but ours still seeds its random generator from the operating system, so read no benefit into that row.
Two patches
Apart from packaging patches, such as the one that gives the libraries their -nginx names, two patches change what the library can do. The first makes the session lookup callback asynchronous; it is the OpenResty yield patch. The second adds a small accessor, SSL_client_hello_get0_received_ext(), that hands back the ClientHello extension list in the exact order the client sent it.
That accessor is a pure addition, no ABI break, so every other consumer of the library keeps working unchanged. It was added on 7 June 2026 for the TLS fingerprinting module. That module computes JA3 and JA4 client fingerprints ($ssl_fingerprint_ja3, $ssl_fingerprint_ja3_hash, $ssl_fingerprint_ja4 and friends) for HTTP and stream servers.
Upstream changed the module on 18 October 2026, and it no longer needs an OpenSSL patch. Both module packages, libnginx-mod-ssl-fingerprint and angie-module-ssl-fingerprint, still depend on libssl-nginx, like every TLS module built for our servers. How to set it up, and when not to block on a fingerprint, is in the JA3 and JA4 fingerprinting guide.
kTLS is compiled in, not switched on
kTLS (kernel TLS) moves TLS record encryption into the Linux kernel instead of doing it in userspace. With it, sendfile() works on TLS sockets. That can help when nginx sends files from disk; it does nothing for handshakes.
Compiled in is not the same as switched on. OpenSSL uses kTLS only when its KTLS option is set, and then only if the negotiated cipher suite and extensions support it. Our package configuration does not set that option. The switch, and the kernel tls module it needs, are covered in the performance and security guide for nginx and Angie.
One thing to know before you flip it, recorded on 23 November 2026. With OpenSSL 3.2.0 or newer, nginx before 1.31.8 logs recv() failed (5: Input/output error) alerts as connections close when kTLS is on. That is fixed in nginx 1.31.8, and on 24 November 2026 our repository carries nginx 1.31.10. Angie 1.12.5, the version in the repository on that date, did not have the fix when this was recorded.
HTTP/3 and post-quantum key exchange
The nginx and Angie packages are built with HTTP/3, on top of the QUIC support in this library. It still has to be configured: the HTTP/3 and QUIC setup guide walks through it.
Post-quantum key exchange comes from OpenSSL’s defaults. Since 3.5 the default group list includes and prefers hybrid post-quantum groups. With that default list, nginx negotiates the X25519MLKEM768 hybrid key exchange with clients that support it. The background is in the guide to post-quantum TLS on nginx and Angie.
Install and check
New to the myguard repository? Follow the setup guide first; it has the key and the source lines. After that, installing either server is all it takes.
# After adding the repository (see the setup guide)
sudo apt-get update
sudo apt-get install nginx # or: sudo apt-get install angie
# Check which OpenSSL nginx was built with
nginx -V 2>&1 | grep -i openssl
The libssl-nginx package is pulled in automatically as a dependency. No special steps needed. The last line is the check: its output should name an OpenSSL 4.0 version. Remember that openssl version answers for the system library, not for this one.
Building a module against it
If you compile your own dynamic module, build it against the library the server uses. The nginx-dev and angie-dev packages depend on libssl-nginx-dev, so the headers arrive with them. They live in /usr/include/openssl-nginx/, apart from the system headers. The package description names pkg-config --cflags openssl-nginx as the way to find them; here, for once, openssl-nginx is the name to type.
Related reading
- The 3.x to 4.0 upgrade notes: what the major version change meant for this library.
- TLS settings for an A+ on SSL Labs: the server-side configuration that goes with it.