Nextcloud Updater fails: TLS certificate hostname mismatch for updates.nextcloud.com

The Basics

  • Nextcloud Server version: 35.0.1.1

  • Operating system and version: Ubuntu 24.04 LTS

  • Web server and version: Apache/2.4.58 (Ubuntu)

  • Reverse proxy and version: HAProxy on OPNsense (version not yet specified)

  • PHP version: 8.5.12

  • Is this the first time you’ve seen this error? First noticed on October 21, 2026

  • When did this problem seem to first start? October 21, 2026 (exact start time unknown)

  • Installation method: Direct installation on Ubuntu (not Docker), located at /var/www/html

  • Are you using Cloudflare, mod_security, or similar? Not confirmed

Summary of the issue you are facing

The Nextcloud updater cannot connect to the official update endpoint because the TLS certificate presented by updates.nextcloud.com does not match the requested hostname.

The issue is reproducible from two different networks. The same certificate error also occurs when accessing https://updates.nextcloud.com/ from a regular PC using a web browser. This suggests that the problem is not specific to my Nextcloud server or its local network.

The hostname resolves to IPv4 address 5.9.202.145. The server presents a Let’s Encrypt certificate with the following details:

subject=CN = download.nextcloud.com
issuer=C = US, O = Let's Encrypt, CN = YR1
notBefore=Sep 28 05:45:25 2026 GMT
notAfter=Dec 27 05:45:24 2026 GMT

X509v3 Subject Alternative Name:
    DNS:download.nextcloud.com

The certificate does not include updates.nextcloud.com in its Subject Alternative Name (SAN).

When certificate verification is bypassed for diagnostic purposes only, the update endpoint returns HTTP 404 Not Found with the response body File not found.

Steps to replicate it

  1. Open https://updates.nextcloud.com/ in a web browser on a regular PC.

  2. Observe the TLS certificate hostname mismatch.

  3. Run curl -v https://updates.nextcloud.com on the Nextcloud server.

  4. Observe the same TLS hostname verification error.

  5. Run the Nextcloud updater:

    sudo -u www-data php updater/updater.phar -vvv
    
  6. Observe the updater failure due to the certificate hostname mismatch.

Log entries

Nextcloud

Relevant output from the updater:

Nextcloud Updater - version: v34.0.0rc2-18-gb96f9cc

Current version is 35.0.1.

[Exception]
Could not do request to updater server:
SSL: no alternative certificate subject name matches target host name 'updates.nextcloud.com'

The PHP requirements check passes successfully with PHP 8.5.12.

Web Browser

The same TLS certificate hostname mismatch occurs on a regular PC when opening https://updates.nextcloud.com/ in a browser. The issue is not limited to the Nextcloud server.

Web server / Reverse Proxy

My local web server is Apache/2.4.58 (Ubuntu). HAProxy on OPNsense is used as a reverse proxy for my Nextcloud installation.

The following response is received from the remote update endpoint, when certificate verification is bypassed for diagnostic purposes:

< HTTP/1.1 404 Not Found
< Date: Wed, 21 Oct 2026 14:34:06 GMT
< Server: Apache
< Content-Length: 15
< Content-Type: text/html; charset=iso-8859-1

File not found.

This response comes from updates.nextcloud.com, not from my local Apache server or HAProxy reverse proxy.

Configuration

The updater URL is not explicitly configured in my Nextcloud system configuration. Running:

sudo -u www-data php occ config:system:get updater.server.url

does not return a URL value.

The default updater endpoint is therefore presumed to be in use.

Apps

The following unrelated PHP log messages were also observed:

  • Deprecated integer casts in apps/eurooffice/lib/AppConfig.php

  • chmod(): Operation not permitted in lib/private/Log/File.php

These do not appear to be directly related to the TLS hostname mismatch.

Additional environment details

  • curl version: 8.5.0

  • TLS protocol: TLS 1.3

  • Update endpoint IPv4: 5.9.202.145

  • IPv6: Disabled on my server

  • Installation path: /var/www/html

  • Installation type: Direct Ubuntu installation, not Docker

  • Reproducibility: Confirmed from two different networks and a regular PC browser

Questions

  1. Is 5.9.202.145 the expected endpoint for updates.nextcloud.com?

  2. Is there currently a server-side TLS certificate or virtual-host configuration issue affecting the update service?

  3. Is the HTTP 404 Not Found response from /updater_server/ expected?

  4. Is there a recommended workaround or an official status update for this issue?

  5. Is the updater version v34.0.0rc2-18-gb96f9cc expected when the installed Nextcloud server reports version 35.0.1.1?

I have deliberately not disabled TLS verification for normal updater operations.

I would appreciate any help someone could provide.

Hi jtr,

I tried it again yesterday and could install the update. So this is solved.