Nextcloud macOS Sequoia Intel fails to connect to https

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 35.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • FreeBSD 15.1-RELEASE-p5
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.30.6_6,3
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • N/A
  • PHP version (e.g, 8.3):
    • 8.5.12_1
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Last week, with the security updates to PHP
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

When trying to connect my work Mac mini (Intel), running macOS 15.8.1 (Sequoia) I get an error:

"Failed to connect to Nextcloud at https://wx.schamschula.com/homecloud

The server enforces strict transport security and does not accept untrusted certificates"

However, I have a M1 Mac Studio and a MacBook Pro, both running macOS Golden Gate, on the same campus network, running the same version of the client software that connect as before.

I have been using LetsEncrypt certificates for years. No recent change.

I have reinstalled the client software on the Mac mini. No difference.

I can log in via the web interface, but that doesn’t automatically download files.

Steps to replicate it (hint: details matter!):

  1. Attempt to log in to existing account

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

N/A

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

N/A

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

N/A

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "apps_paths": [
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
                "url": "\/apps-pkg",
                "writable": false
            }
        ],
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "10.0.0.100",
            "wx.schamschula.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "35.0.2.2",
        "overwrite.cli.url": "https:\/\/10.0.0.100\/homecloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "trashbin_retention_obligation": "auto, 30",
        "theme": "",
        "loglevel": 0,
        "maintenance": false
    }
}

Apps

The output of occ app:list (if possible).

Enabled:

  • activity: 8.0.0

  • app_api: 35.0.0

  • appstore: 2.0.0

  • bruteforcesettings: 8.0.0

  • circles: 35.0.0

  • cloud_federation_api: 2.0.0

  • comments: 2.0.0

  • contactsinteraction: 2.0.0

  • dashboard: 8.0.0

  • dav: 2.0.0

  • encryption: 3.0.1

  • federatedfilesharing: 2.0.0

  • federation: 2.0.0

  • files: 3.0.0

  • files_downloadlimit: 5.3.0

  • files_lock: 35.0.1

  • files_pdfviewer: 8.0.0

  • files_reminders: 2.0.0

  • files_sharing: 2.0.0

  • files_trashbin: 2.0.0

  • files_versions: 2.0.0

  • firstrunwizard: 8.0.0

  • integration_openstreetmap: 4.2.0

  • logreader: 8.0.0

  • lookup_server_connector: 2.0.0

  • nextcloud_announcements: 7.0.0

  • notifications: 8.0.1

  • oauth2: 2.0.0

  • office: 1.1.0

  • password_policy: 7.0.0

  • photos: 8.0.0

  • privacy: 7.0.0

  • profile: 2.0.0

  • provisioning_api: 2.0.0

  • recommendations: 8.0.0

  • related_resources: 6.0.0

  • serverinfo: 7.0.0

  • settings: 2.0.0

  • sharebymail: 2.0.0

  • sharing: 1.0.4

  • support: 7.0.0

  • survey_client: 7.0.0

  • systemtags: 2.0.0

  • text: 9.0.1

  • theming: 3.0.0

  • twofactor_backupcodes: 2.0.0

  • twofactor_totp: 17.1.0

  • updatenotification: 2.0.0

  • user_status: 2.0.0

  • viewer: 8.0.0

  • weather_status: 2.0.0

  • webhook_listeners: 2.0.0

  • workflowengine: 3.0.0

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

What happens, when you open https://wx.schamschula.com/homecloud in your browser?

strange that there is anohter user with (maybe?) the same issue, also macOS.

Or it is just a coincidence. Not heard back in the other thread yet.

As I wrote above, the browser (Safari) connects as it should.

I had a quick look at the previous post. It sure looks like the same issue - just written up in German!

I just updated the Mac mini to macOS 15.8.2, which likely fixed some Certificate issues. However, the problem persists.

Looks like the certificate is expired:

$ curl -vI "https://wx.schamschula.com"
* Host wx.schamschula.com:443 was resolved.
[...]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey
* ALPN: server accepted h2
* Server certificate:
*   subject: CN=wx.schamschula.com
*   start date: May 23 23:48:26 2026 GMT
*   expire date: Aug 21 23:48:25 2026 GMT
*   issuer: C=US; O=Let's Encrypt; CN=E7
[...]
* OpenSSL verify result: a
* SSL certificate OpenSSL verify result: certificate has expired (10)
* closing connection #0
curl: (60) SSL certificate OpenSSL verify result: certificate has expired (10)
 

Yes, indeed!

Somehow Let’s Encrypt broke auto-renew on my server. I’m forced use the DNS txt token and manually upload that to my DNS provider. Only this one machine complained, while the others gave me a pop-up about the untrusted Certificate.

I’ve added a reminder to my calendar for the next time this needs to be done.

That wasn’t the question though :wink:
Posting a screenshot of the cert in the browser shows mutliple things.
Is it just a self signed ca? Is it let’s encrypt? Is it valid?

You are free choosing your DNS provider. If your DNS provider does not support DNS challenge, I would switch.

It does. However, I have to manually set the TXT record. Switching is possible, but the DNS provider also hosts my email and my public website.

Speaking of updating the .pem file: I forgot to restart nginx, so the old Cert was still in memory. Once, I did, everything was back to normal.

The expired Cert clearly states that is from Let’s Encrypt. After the automated Let’s Encrypt updates broke, I used a self-signed Cert and then EncryptSSL. However, the later works very much the same way as Let’s Encrypt in the DNS mode, so I went back.

I guess one should never give the URL to one’s server on the Forum. I Just saw the following request:

181.177.106.144 - - [26/Oct/2026:17:35:40 -0500] “GET /robots.txt HTTP/2.0” 200 106 “-” “Mozilla/5.0 (compatible; ExaSearchBot/1.0; +https://crawler.exa.ai/)”

181.177.106.145 - - [26/Oct/2026:17:37:33 -0500] “GET /homecloud HTTP/2.0” 301 169 “-” “Mozilla/5.0 (compatible; ExaSearchBot/1.0; +https://crawler.exa.ai/)”

This is a security issue!

Also not a problem. You can have DNS with someone else and just point A, AAAA and MX to your current providor.

If you have a public DNS entry, it is public anyway. Nothing to do with this forum.

That is a crawler that asked nicely about your robots.txt, probably did not find it and because of that, went on with the scan.

It is not.