Tech25 min read

Chrome's P-256 CA Distrust: Moving an Ubuntu 24.04 VPS to P-384 Certbot Certs and X25519MLKEM768 in nginx

IkesanContents

TL;DR

What happened December 3, 2026: Google announced Chrome will distrust ECDSA P-256 CA keys starting March 15, 2027.

Who is affected Sites chaining to an ECDSA P-256 CA key. Let’s Encrypt uses P-384 and RSA for its CA keys, so Let’s Encrypt servers have no mandatory work before March 15, 2027.

What to do Two recommended (non-deadline) changes remain for Let’s Encrypt VPS operators:

  1. Reissue server certificates from P-256 or RSA 2048-bit to ECDSA P-384 or RSA 3072-bit with Certbot
  2. Enable hybrid post-quantum key exchange (X25519MLKEM768) once running OpenSSL 3.5 or later

What I tested Ubuntu 24.04 VPS: Certbot P-384 renewal succeeded directly. X25519MLKEM768 failed on stock Ubuntu nginx (OpenSSL 3.0.13) and worked after replacing the binary with nginx 1.30.8 built statically with OpenSSL 3.5.10.


On December 3, 2026, Google announced that Chrome will stop trusting ECDSA P-256 CA keys (Certificate Authority keys) starting March 15, 2027.
Since my VPS uses Let’s Encrypt certificates, I checked the primary announcements to see what actually needed to be done before the deadline, then ran through the changes on an Ubuntu 24.04 VPS.

Because Let’s Encrypt’s CA keys are P-384 and RSA, there is no mandatory work before March 15. What remains are two recommended steps: moving the server certificate key to P-384 (or RSA 3072-bit) and enabling X25519MLKEM768, a hybrid key exchange combining classical and post-quantum cryptography.
On the Ubuntu 24.04 VPS, reissuing the server certificate as P-384 with Certbot worked on the first try. Enabling X25519MLKEM768 did not work with Ubuntu’s stock nginx (OpenSSL 3.0.13), so I built nginx with OpenSSL 3.5.10 and switched to it—which enabled hybrid key exchange without changing nginx.conf, though it also means handling security updates manually for now.

What Google and Let’s Encrypt Announced

Both Google and Let’s Encrypt published posts on December 3, 2026.
Let’s Encrypt noted at the top of its post that the update followed guidance issued by the NSA (National Security Agency) the same week.

SourceSummary
Google Chrome Security TeamStarting March 15, 2027, Chrome will no longer trust CA keys using ECDSA P-256 (secp256r1). Sites chaining to a P-256 CA key will trigger a full-page warning in Chrome.
Let’s EncryptDetailed its current CA key setup and recommended default key sizes for ACME clients (automated certificate tools such as Certbot). Targeting early February 2027 for general availability of post-quantum certificates.

Google’s announcement targets CA keys and states that affected CAs have already been contacted.
Site operators need to check whether their certificate chain (the chain from the server certificate up to the root certificate) contains an ECDSA P-256 CA key, and switch to a certificate from a CA that does not use P-256 before the deadline if it does.

In the same post, Google strongly recommends migrating server (leaf) certificate keys away from ECDSA P-256 and adopting hybrid ML-KEM key exchange (X25519MLKEM768). Neither recommendation comes with a deadline.

Neither post explains in detail how much weaker P-256 has become. Google only refers to “emerging attacks.”

CA Keys, Server Certificate Keys, and Key Exchange Are Separate

Three different cryptographic elements come up in this discussion, and which one you are talking about determines who has to change what.

ComponentPurposeWhere It Is ChangedChrome Deadline
CA keyUsed by the Certificate Authority on root and intermediate certificates to sign server certificatesOn the CA side; operators can only choose a different CAMarch 15, 2027
Server certificate keyProves the server’s identity; generated by Certbot or another ACME clientServer-side certificate management toolNone (recommended)
Key exchangeEstablishes per-connection session keys (X25519, X25519MLKEM768)The TLS-terminating software (nginx, Apache, etc.) handling HTTPS encryption/decryption and its OpenSSL libraryNone (recommended)

X25519MLKEM768 combines the classical elliptic-curve key exchange X25519 with the post-quantum key encapsulation mechanism ML-KEM-768. Even if one side is broken, the session key remains protected as long as the other holds.
Throughout this post, ECDSA refers to elliptic-curve cryptography and RSA refers to the older algorithm; larger numbers (256, 384, 2048, 3072) mean longer keys, though the digit counts differ because the underlying math is different (P-384 and RSA 3072-bit are comparable in tier despite the different bit lengths).

Let’s Encrypt’s CA Key Setup

Here is the key configuration listed in Let’s Encrypt’s announcement:

KeyCurrent SetupPlanned Changes
ECDSA root and intermediate CAs384-bitNone listed
RSA root CA4096-bitNone listed
RSA intermediate CAs2048-bitMay move to 3072-bit or 4096-bit; will be announced once decided
ECDSA server certificatesSupports 256-bit and 384-bitRecommends ACME clients default to 384-bit
RSA server certificatesSupports 2048-, 3072-, and 4096-bitRecommends ACME clients default to 3072-bit

On Let’s Encrypt’s Chains of Trust page, the root certificates are ISRG Root X1 and Root YR (RSA 4096-bit), and ISRG Root X2 and Root YE (P-384).
Certificates follow a three-tier hierarchy: a root certificate preinstalled in the OS or browser signs an intermediate CA, and that intermediate CA issues your server certificate. Let’s Encrypt currently issues from four active intermediates: YE1 and YE2 (P-384) for ECDSA, and YR1 and YR2 (RSA 2048-bit) for RSA.

Checking letsencrypt.org’s own chain from a Mac (OpenSSL 3.6.4) showed all three CA certificates using secp384r1 (another name for P-384):

openssl s_client -connect letsencrypt.org:443 -servername letsencrypt.org -showcerts < /dev/null
 0 s:CN=letsencrypt.org
   i:C=US, O=Let's Encrypt, CN=YE2
   a:PKEY: EC, (prime256v1); sigalg: ecdsa-with-SHA384
 1 s:C=US, O=Let's Encrypt, CN=YE2
   i:C=US, O=ISRG, CN=Root YE
   a:PKEY: EC, (secp384r1); sigalg: ecdsa-with-SHA384
 2 s:C=US, O=ISRG, CN=Root YE
   i:C=US, O=Internet Security Research Group, CN=ISRG Root X2
   a:PKEY: EC, (secp384r1); sigalg: ecdsa-with-SHA384
 3 s:C=US, O=Internet Security Research Group, CN=ISRG Root X2
   i:C=US, O=Internet Security Research Group, CN=ISRG Root X1
   a:PKEY: EC, (secp384r1); sigalg: sha256WithRSAEncryption

Entry 0 is the server certificate and 1 onward are CA certificates; s: is the certificate subject (owner), i: is the issuer that signed it, and a:PKEY shows the public key algorithm and curve.
Since prime256v1 is OpenSSL’s name for P-256 (secp256r1), if prime256v1 does not appear in entries 1 and above, your chain has no CA key affected by Chrome’s distrust.

Notice that entry 0 itself is prime256v1. As of December 4, 2026, letsencrypt.org’s own server certificate was still using P-256.

If you use a CA other than Let’s Encrypt, run the same command and inspect entries 1 and above. If prime256v1 appears there, check with your CA or hosting provider for migration steps.

Checking Your Server Certificate Key

Since Certbot 2.0.0, new certificates default to ECDSA secp256r1 (P-256). Before that, the default was RSA 2048-bit, and existing certificates keep renewing with the same key type unless you explicitly change it.

That means any server using Certbot with default settings is likely running either P-256 or RSA 2048-bit.

List the certificates managed by Certbot and their key types:

sudo certbot certificates

To inspect a certificate file directly, replace <cert-name> with the Certificate Name shown in certbot certificates:

sudo openssl x509 -in /etc/letsencrypt/live/<cert-name>/cert.pem -noout -text \
  | grep -E "Issuer:|Public Key Algorithm|Public-Key|ASN1 OID"

Running the same filter against letsencrypt.org’s certificate shows what a P-256 certificate looks like:

        Issuer: C=US, O=Let's Encrypt, CN=YE2
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (256 bit)
                ASN1 OID: prime256v1

Matching the output against Let’s Encrypt’s recommendations:

OutputKey TypeAction
ASN1 OID: prime256v1ECDSA P-256Switch to P-384
ASN1 OID: secp384r1ECDSA P-384No change needed
Public-Key: (2048 bit) (RSA)RSA 2048-bitSwitch to 3072-bit or move to ECDSA P-384
Public-Key: (3072 bit) or higher (RSA)RSA 3072-bit+No change needed

Switching to P-384 or RSA 3072-bit with Certbot

As of Certbot 5.10.0, the default key settings are still P-256 and RSA 2048-bit, so you need to pass the flags explicitly when switching.

OptionTargetCertbot 5.10.0 Default
--key-typeKey algorithmecdsa
--elliptic-curveECDSA curvesecp256r1
--rsa-key-sizeRSA key length2048

Run a Dry-Run Renewal First

Production issuance has a rate limit of 5 duplicate certificates per 7 days for the same set of domains, refilling at 1 slot every 34 hours.
Retrying forced renewals after failures burns through this quota, so test validation against the staging environment first with --dry-run.

sudo certbot renew --cert-name <cert-name> --dry-run

Reissue with ECDSA P-384

sudo certbot renew \
  --cert-name <cert-name> \
  --key-type ecdsa \
  --elliptic-curve secp384r1 \
  --new-key \
  --force-renewal

--force-renewal forces renewal even if the certificate is not near expiration. Omitting --cert-name applies the command to every certificate Certbot manages.

--new-key tells Certbot to generate a new private key. Certbot generates a fresh key on renewal by default, so it is usually optional—unless --reuse-key (which keeps reusing the same private key across renewals) is enabled on the certificate.
In Certbot 5.10.0’s source code, trying to change the key type or curve with --reuse-key active and no --new-key aborts with this error:

Unable to change the --elliptic-curve of this certificate because --reuse-key is set.
To stop reusing the private key, specify --no-reuse-key.
To change the private key this one time and then reuse it in future, add --new-key.

Stay on RSA and Bump to 3072-bit

If you need RSA for older clients, increase the key size only:

sudo certbot renew \
  --cert-name <cert-name> \
  --key-type rsa \
  --rsa-key-size 3072 \
  --new-key \
  --force-renewal

Note that switching from RSA to ECDSA changes the issuing intermediate CA from the RSA intermediates (YR1/YR2) to the ECDSA intermediates (YE1/YE2), which changes the certificate chain.
Keeping the same algorithm and only changing key size stays within the same intermediate family, though whether YE1 or YE2 signs a given certificate can still change on any renewal.

Post-Renewal Verification

For nginx, run nginx -t (configuration syntax check) before reloading:

sudo nginx -t && sudo systemctl reload nginx

Run the openssl x509 check from the previous section and confirm it now reports ASN1 OID: secp384r1 or Public-Key: (3072 bit).

Verify that future automatic renewals will keep the same parameters by checking the renewal config file and running --dry-run:

sudo grep -E "key_type|elliptic_curve|rsa_key_size" /etc/letsencrypt/renewal/<cert-name>.conf
sudo certbot renew --dry-run

Default New Certificates to P-384

To make future newly issued certificates use P-384 from the start, add the following to /etc/letsencrypt/cli.ini:

key-type = ecdsa
elliptic-curve = secp384r1

X25519MLKEM768 and OpenSSL 3.5

Key exchange is independent of the certificate and depends on the TLS-terminating software and its underlying crypto library.
OpenSSL added ML-KEM support in 3.5. The OpenSSL 3.5 release notes cover post-quantum algorithms (ML-KEM for key exchange, ML-DSA and SLH-DSA for signatures) and change the default TLS key-share groups to X25519MLKEM768 and X25519.

OpenSSL Versions by Distribution

Package versions checked on December 4, 2026:

DistributionOpenSSL PackageML-KEM Support
AlmaLinux 81.1.1kNo
AlmaLinux 93.5.9Yes
AlmaLinux 103.5.9Yes
Ubuntu 22.043.0.2No
Ubuntu 24.043.0.13No
Ubuntu 26.043.5.5Yes
Debian 123.0 seriesNo
Debian 133.5 seriesYes

Unpatched systems may be running older versions than the table shows, so check directly on the server:

openssl version
nginx -V 2>&1 | grep -i openssl

nginx -V reports which OpenSSL version nginx was built against. Because the openssl CLI version and the library nginx uses do not always match, check both.

In setups where the host and container run different OS versions, only the OpenSSL inside the environment where nginx terminates TLS matters. If the host is Ubuntu 24.04 and nginx runs inside an AlmaLinux 9 container, the container’s OpenSSL 3.5 is what counts; updating the host’s OpenSSL does not affect nginx inside the container.

Configuring ssl_ecdh_curve in nginx

In nginx, ssl_ecdh_curve controls the list of key-exchange groups, and its default value auto uses OpenSSL’s built-in default list.

Because OpenSSL 3.5+ already includes X25519MLKEM768 in its default list, an nginx configuration that does not explicitly set ssl_ecdh_curve supports hybrid key exchange as soon as it runs on OpenSSL 3.5 or later.

If your config explicitly sets ssl_ecdh_curve (for example, from a hardening template), any group not listed is disabled, so prepend X25519MLKEM768:

ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519:prime256v1;

Keeping the classical groups afterward ensures clients that do not support X25519MLKEM768 can still connect.

OpenSSL 3.5’s documentation notes that an unsupported group name causes an error unless prefixed with ? (which makes OpenSSL ignore it if unsupported).
However, OpenSSL versions older than 3.5 do not understand the ? syntax either and fail with an error, so do not add this directive to nginx running on OpenSSL < 3.5. Always run nginx -t before reloading.

Checking Hybrid Key Exchange

With an OpenSSL 3.5+ client, you can force X25519MLKEM768 to verify server support:

openssl s_client -connect <domain>:443 -servername <domain> \
  -groups X25519MLKEM768 < /dev/null 2>/dev/null | grep "Negotiated"

Running this from a Mac against letsencrypt.org returned:

Negotiated TLS1.3 group: X25519MLKEM768

If the server does not support X25519MLKEM768, forcing only that group fails with tls alert handshake failure.

The client side also needs OpenSSL 3.5+. Running the same command with macOS’s stock /usr/bin/openssl (LibreSSL 3.3.6) exited with Failed to set groups 'X25519MLKEM768'.

On the browser side, Chrome switched its hybrid key exchange from the pre-standardization name Kyber to ML-KEM in Chrome 131.

Switching to P-384 on an Ubuntu 24.04 VPS

I had an unused VPS available, so I ran the full migration there. Certificate names and domains in the output below are replaced with <cert-name>.

ItemValue
OSUbuntu 24.04.3 LTS
OpenSSL3.0.13
nginx1.24.0 (built with OpenSSL 3.0.13)
Certbot2.9.0 (Ubuntu package)
Validation methodwebroot (places challenge files in the public web directory)
Certificate before changeECDSA P-256, issued by YE1, expires February 3, 2027

The Certbot renewal config (/etc/letsencrypt/renewal/<cert-name>.conf) had only key_type = ecdsa and no curve specified.
The deploy hook (a script run automatically after a successful renewal) ran nginx -t and reloaded nginx.

Reissuing as P-384

First I backed up /etc/letsencrypt with tar and set permissions to 600 (owner read/write only) since the archive contains private keys.

Next I ran a dry-run renewal with the same flags planned for production:

certbot renew --cert-name <cert-name> \
  --key-type ecdsa --elliptic-curve secp384r1 --new-key --dry-run
Simulating renewal of an existing certificate for <cert-name>

Congratulations, all simulated renewals succeeded:
  /etc/letsencrypt/live/<cert-name>/fullchain.pem (success)

With the dry run passing, I swapped --dry-run for --force-renewal:

certbot renew --cert-name <cert-name> \
  --key-type ecdsa --elliptic-curve secp384r1 --new-key --force-renewal

Why renew Stalled for 7.5 Minutes

The command printed nothing for about seven and a half minutes because I ran it non-interactively via SSH without allocating a terminal.

Certbot’s log showed:

Non-interactive renewal: random delay of 453.99939749145614 seconds

When run without a TTY, Certbot inserts a random delay before renewing. The dry run right before it had the same log line with a 27-second delay.
Even if it looks hung, do not abort it or launch a second renewal.

Later, during the RSA test, running the same command with ssh -tt to allocate a terminal skipped the delay completely: the dry run finished in about 12 seconds, the live renewal took about 6 seconds, and no random delay entry appeared in the log.

Verification After P-384 Renewal

Once the delay elapsed, renewal finished in a few seconds and the deploy hook reloaded nginx.

openssl x509 -in /etc/letsencrypt/live/<cert-name>/cert.pem -noout -text \
  | grep -E "Issuer:|Not After|Public Key Algorithm|Public-Key|ASN1 OID"
        Issuer: C = US, O = Let's Encrypt, CN = YE2
            Not After : Mar  4 10:10:09 2027 GMT
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (384 bit)
                ASN1 OID: secp384r1

Connecting from a Mac showed Verification: OK and HTTP 200 on HTTPS requests, with all three CA certificates in the chain still secp384r1.

Before vs. after:

ItemBeforeAfter
Server certificate keyprime256v1 (P-256)secp384r1 (P-384)
Issuing intermediate CAYE1YE2
ExpirationFebruary 3, 2027March 4, 2027
Renewal configkey_type = ecdsakey_type = ecdsa, elliptic_curve = secp384r1
TLS signature algorithmecdsa_secp256r1_sha256ecdsa_secp384r1_sha384

Certbot wrote elliptic_curve = secp384r1 into the renewal config, so subsequent automatic renewals will stay on P-384.

Notice that the issuing intermediate changed from YE1 to YE2 even though the key type stayed ECDSA. If an app uses certificate pinning (restricting accepted certificates to specific public keys, covered below), even a key-size change can break connections.

Testing RSA 3072-bit

After confirming P-384, I also tested switching the same VPS to RSA 3072-bit (dry run first, then forced renewal):

certbot renew --cert-name <cert-name> \
  --key-type rsa --rsa-key-size 3072 --new-key --force-renewal

Chain observed from the Mac afterward:

 0 s:CN=<cert-name>
   i:C=US, O=Let's Encrypt, CN=YR1
   a:PKEY: RSA, 3072 (bit); sigalg: sha256WithRSAEncryption
 1 s:C=US, O=Let's Encrypt, CN=YR1
   i:C=US, O=ISRG, CN=Root YR
   a:PKEY: RSA, 2048 (bit); sigalg: sha256WithRSAEncryption
 2 s:C=US, O=ISRG, CN=Root YR
   i:C=US, O=Internet Security Research Group, CN=ISRG Root X1
   a:PKEY: RSA, 4096 (bit); sigalg: sha256WithRSAEncryption
ItemP-384RSA 3072-bit
Server certificate keysecp384r1RSA 3072-bit
Issuing intermediate CAYE2 (P-384)YR1 (RSA 2048-bit)
Chain pathRoot YE -> ISRG Root X2 -> ISRG Root X1Root YR -> ISRG Root X1
Renewal configkey_type = ecdsa, elliptic_curve = secp384r1key_type = rsa, rsa_key_size = 3072
TLS signature algorithmecdsa_secp384r1_sha384rsa_pss_rsae_sha256

Even with a 3072-bit RSA leaf certificate, the intermediate CA (YR1) remains RSA 2048-bit. Operators cannot change intermediate key sizes; that depends on Let’s Encrypt.

Chain verification returned Verification: OK and HTTPS returned 200.

I then switched back to P-384 using the same command. This time the issuer was YE1, different from the first P-384 certificate (YE2). The line rsa_key_size = 3072 remained in the renewal config file, though it is ignored now that key_type = ecdsa is set.

Switching to nginx Built with OpenSSL 3.5

Next, I tested enabling X25519MLKEM768 on the same Ubuntu 24.04 VPS.

Testing on Stock Ubuntu nginx

On stock Ubuntu 24.04 nginx (OpenSSL 3.0.13), hybrid key exchange did not work. Connecting from the Mac with -groups X25519MLKEM768 exited with tls alert handshake failure.

Leaving the live config untouched, I copied /etc/nginx to a temporary directory, added ssl_ecdh_curve, and tested it with nginx -t:

ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519:prime256v1;
[emerg] SSL_CTX_set1_curves_list("X25519MLKEM768:secp384r1:X25519:prime256v1") failed
(SSL: error:0A080106:SSL routines::passed invalid argument:group 'X25519MLKEM768' cannot be set)
nginx: configuration file /etc/nginx/nginx.conf test failed

Prefixing the group with ? (OpenSSL 3.5’s syntax to ignore unsupported groups) produced the same error:

(SSL: error:0A080106:SSL routines::passed invalid argument:group '?X25519MLKEM768' cannot be set)

Running nginx -t before reloading catches this kind of error before it hits production.

Ubuntu 24.04’s repositories still only offer OpenSSL 3.0.13. Getting X25519MLKEM768 on this VPS means either upgrading the OS to Ubuntu 26.04 or swapping out the TLS terminator for an nginx binary built with OpenSSL 3.5+. I kept Ubuntu 24.04 and built nginx with OpenSSL 3.5.10.

In X25519MLKEM768, the client sends an ML-KEM public key and the server encapsulates a shared secret using that key and sends it back. Because encapsulation requires ML-KEM support in the server’s TLS library, the OpenSSL linked into nginx has to be updated.

Keeping Stock nginx Side-by-Side

Rather than removing Ubuntu’s packaged nginx (/usr/sbin/nginx), I installed the custom binary in a separate directory:

ItemSetup
Built binarynginx 1.30.8 (stable) statically linked with OpenSSL 3.5.10 and PCRE2 10.49 (regular expression library)
Install path/opt/nginx-pq/sbin/nginx
Config fileExisting /etc/nginx/nginx.conf, unchanged
Switchoversystemd drop-in override (an extra file that overrides part of the service unit without editing the package’s unit file)
RollbackRemove the drop-in file and run systemctl daemon-reload and systemctl restart nginx

System libraries in /usr/lib are shared by PHP, MariaDB, SSH, and other packages, so I left the system OpenSSL untouched and linked 3.5.10 statically into nginx only.
The original nginx did not load any dynamic modules. If your setup uses dynamic modules, you will need to rebuild those against the new nginx version as well.

Building nginx with OpenSSL 3.5.10

I extracted the nginx, OpenSSL, and PCRE2 source tarballs into the same working directory and verified the OpenSSL tarball against the official SHA-256 checksum.

cd nginx-1.30.8
./configure \
  --prefix=/opt/nginx-pq \
  --sbin-path=/opt/nginx-pq/sbin/nginx \
  --conf-path=/opt/nginx-pq/conf/nginx.conf \
  --pid-path=/run/nginx.pid \
  --lock-path=/var/lock/nginx.lock \
  --http-log-path=/var/log/nginx/access.log \
  --error-log-path=/var/log/nginx/error.log \
  --http-client-body-temp-path=/var/lib/nginx/body \
  --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
  --http-proxy-temp-path=/var/lib/nginx/proxy \
  --http-scgi-temp-path=/var/lib/nginx/scgi \
  --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
  --with-compat --with-threads \
  --with-pcre=../pcre2-10.49 --with-pcre-jit \
  --with-openssl=../openssl-3.5.10 \
  --with-http_ssl_module --with-http_v2_module \
  --with-http_realip_module --with-http_stub_status_module \
  --with-http_auth_request_module --with-http_gzip_static_module \
  --with-http_gunzip_module --with-http_sub_module \
  --with-http_secure_link_module --with-http_addition_module \
  --with-http_slice_module --with-http_dav_module \
  --with-stream --with-stream_ssl_module \
  --with-stream_ssl_preread_module --with-stream_realip_module
make -j3

Passing --with-openssl builds OpenSSL alongside nginx and links it statically into the binary. PID, log, and temp paths match the Ubuntu package layout.

On a 3-core, 2 GB RAM VPS, make finished in about 3 minutes. I skipped make install (which would drop default config templates) and copied only the compiled binary to /opt/nginx-pq/sbin/.

/opt/nginx-pq/sbin/nginx -V
nginx version: nginx/1.30.8
built with OpenSSL 3.5.10 1 Dec 2026

Testing on a Separate Port First

Before touching port 443, I copied the nginx config, changed the listen directives to 127.0.0.1:8443, and started the new binary against the test config.

The first attempt failed: copying the directory preserved symlinks in sites-enabled, which still pointed back to the real /etc/nginx/sites-available. Because the port edits never took effect, the test instance tried to bind ports 80 and 443 and exited with bind() to 0.0.0.0:443 failed (98: Address already in use) (leaving the live nginx unaffected). Re-copying with cp -aL to dereference the symlinks fixed it.

Once the test instance started, I tested connections locally using the openssl binary built inside the OpenSSL 3.5.10 source tree:

Connection TestResult
Default (no -groups)Negotiated TLS1.3 group: X25519MLKEM768
Force X25519MLKEM768 onlyNegotiated TLS1.3 group: X25519MLKEM768
Force X25519 onlySucceeded (Peer Temp Key: X25519, 253 bits)
Force P-256 onlySucceeded (Peer Temp Key: ECDH, prime256v1, 256 bits)
Force TLS 1.2Succeeded (key exchange: X25519)
From stock Ubuntu OpenSSL 3.0.13Succeeded (Server Temp Key: X25519, 253 bits)

Even without ssl_ecdh_curve anywhere in the config, OpenSSL 3.5’s default group list handled both hybrid and classical clients.

Switching Over with a systemd Drop-In

Ubuntu’s nginx unit references /usr/sbin/nginx in three places: ExecStartPre, ExecStart, and ExecReload. I overrode all three via a drop-in file:

# /etc/systemd/system/nginx.service.d/pq-binary.conf
[Service]
ExecStartPre=
ExecStartPre=/opt/nginx-pq/sbin/nginx -t -q -c /etc/nginx/nginx.conf -g "daemon on; master_process on;"
ExecStart=
ExecStart=/opt/nginx-pq/sbin/nginx -c /etc/nginx/nginx.conf -g "daemon on; master_process on;"
ExecReload=
ExecReload=/opt/nginx-pq/sbin/nginx -c /etc/nginx/nginx.conf -g "daemon on; master_process on;" -s reload

The empty ExecStart= lines clear the base unit’s entries; without them, systemd appends rather than replaces. Because the custom binary’s default config path is /opt/nginx-pq/conf/, -c explicitly passes /etc/nginx/nginx.conf.

systemctl daemon-reload
systemctl restart nginx

Replacing the binary requires restart rather than reload. Comparing timestamps before and after, the restart took about 0.1 seconds.

Post-Switchover Verification

Confirm the running master process is the new binary:

ls -l /proc/$(cat /run/nginx.pid)/exe
/opt/nginx-pq/sbin/nginx

External connection checks from the Mac:

CheckBeforeAfter
Default connection (OpenSSL 3.6.4)SucceededConnected with X25519MLKEM768
Force X25519MLKEM768 onlyhandshake failureConnected with X25519MLKEM768
Force X25519 onlyNot checkedSucceeded
macOS stock LibreSSL 3.3.6Not checkedSucceeded (key exchange: X25519)
HTTPS request200200
Server headernginx/1.24.0 (Ubuntu)nginx/1.30.8

The P-384 certificate from earlier remained active with Verification: OK.
I also verified that systemctl reload nginx, the Certbot deploy hook, and certbot renew --dry-run all succeeded afterward.

I left the deploy hook as /usr/sbin/nginx -t && systemctl reload nginx. That means Ubuntu’s packaged nginx validates the config syntax while the custom binary performs the reload. If you later add directives that only the newer nginx/OpenSSL understands (such as ssl_ecdh_curve X25519MLKEM768:...), /usr/sbin/nginx -t will fail and block reloads, so update the hook to call /opt/nginx-pq/sbin/nginx -t as well.

Maintenance Overhead of a Custom Build

Building nginx manually moves nginx and OpenSSL outside apt management:

AspectUbuntu PackageSelf-Built nginx
Security updatesInstalled via apt upgradeRebuild and replace the binary manually
Release trackingUbuntu security noticesWatch nginx and OpenSSL releases yourself
Binary replacementAutomatic on package upgradeReplace binary and run systemctl restart nginx

OpenSSL 3.5 patch releases will keep coming (3.5.10 shipped on December 1, 2026; 3.5.9 was on September 29). Even when apt upgrades Ubuntu’s packaged nginx, the systemd drop-in keeps /opt/nginx-pq/sbin/nginx running, so the statically linked OpenSSL stays at 3.5.10 until you rebuild it. You can verify which binary is active with ls -l /proc/$(cat /run/nginx.pid)/exe.

Ubuntu 24.04’s repositories do not yet ship an nginx package built against OpenSSL 3.5+. If one becomes available later, removing the drop-in restores automatic apt updates. If you want to avoid manual rebuilds altogether, moving to an OS that ships OpenSSL 3.5+ natively (Ubuntu 26.04, AlmaLinux 9+, or Debian 13) lets apt or dnf handle updates.

Impact on Mobile Apps Using WebView

If mobile apps load your VPS site inside a WebView (an in-app browser component), reissuing the certificate should, as a rule, require no app changes unless the app uses certificate pinning.
Whether WebViews on older OS versions handle P-384 or RSA 3072-bit certificates was not tested here, so that part remains unverified.

Let’s Encrypt certificates rotate frequently by design, and WebView validates whether the chain leads to a trusted root.

Certificate pinning—restricting an app to accept only specific public keys—is not enabled by default in most apps, but apps that explicitly implement it are affected.
On Android, network_security_config.xml defines a pin-set with one or more public key (SubjectPublicKeyInfo) hashes. If none of the pinned keys appear anywhere in the new chain, the connection fails; if a backup pin matches a key in the new chain, it succeeds.
iOS has no identical XML file, but apps can still implement custom certificate validation in code. On either platform, check whether the app pins certificates or public keys before making changes.

ChangeWithout PinningWith Pinning
Key change renewal (P-256 to P-384, RSA 2048 to 3072)No impactBreaks if only the old leaf key is pinned and no backup pin matches the new chain
Switch from RSA to ECDSANo impact on devices trusting the rootBreaks if only the leaf key or RSA intermediate key is pinned with no matching backup pin
Add X25519MLKEM768 (keeping classical groups)No impactNo impact
Require X25519MLKEM768 onlyUnsupported clients fail to connectSame

Let’s Encrypt’s compatibility page lists root trust by OS version.
The RSA root ISRG Root X1 is trusted on Android 7.1.1+ and iOS 10+, while the ECDSA root ISRG Root X2 is directly trusted on Android 14+ and iOS 16+. Devices that trust X1 also trust X2 cross-signed by X1, which is why the default ECDSA chain leads up to ISRG Root X1.

Whether older OS WebViews handle P-384 or RSA 3072-bit server certificates without issues is neither documented in the primary sources nor tested on physical devices here, so test against a real device running your app’s minimum supported OS after reissuing.
Also separate certificate reissuance and key-exchange changes onto different days; changing both at once makes it harder to tell which one broke a client.

Google’s announcement is specifically about Chrome and does not say whether Android WebView will follow the same rule. Because Let’s Encrypt has no P-256 CA keys, either way there is no impact.

Another Round Coming After February 2027 (MTC)

Changing the server certificate key and enabling hybrid key exchange still operate within traditional certificate authentication. Moving certificate authentication itself to post-quantum cryptography comes next.

Let’s Encrypt is targeting early February 2027 for general availability of Merkle Tree Certificates (MTC, a mechanism that groups large numbers of certificates in a tree structure) signed with the post-quantum signature algorithm ML-DSA. The post notes there is no firm public schedule yet and timing depends on coordination with root programs (the frameworks browsers use to govern trusted root CAs) and browser vendors.

I covered how MTC works in an earlier post on Chrome 145–146 changes.

Let’s Encrypt recommends that all ACME clients support certificate profiles (selecting the issued certificate’s specification), ML-DSA, and fetching landmark relative certificates (relative proofs anchored to a reference point in MTC).
As of Certbot 5.10.0 (released November 10, 2026), the changelog does not yet mention MTC or ML-DSA.

Google’s post similarly states that Chrome supports MTC and that Google is working with CAs to make it available in early 2027.

Suggested Order of Operations for VPS Operators

TimingTask
NowCheck your certificate chain’s CA keys and your server certificate key type
This monthReissue server certificates to P-384 or RSA 3072-bit with Certbot and test clients including mobile apps
This monthCheck OpenSSL and nginx versions wherever TLS is terminated
Once on OpenSSL 3.5+Enable X25519MLKEM768 and verify with openssl s_client
February 2027 onwardWatch Let’s Encrypt’s MTC rollout and Certbot support

Primary Sources