I’ve got an issue with the nextcloud client Version 3.5.4 (macOS). I set up an account with a URL like https://www.example.org/nextcloud. I set up a redirect from this URL to https://nextcloud.example.org (that host has another valid Let’s Encrypt SSL certificate), but the client shows me an error that the hostname does not match the certificate name.
Firefox, Chrome, etc works fine and redirects without certificate errors. Is there any caching of certificates? Or does URL redirection not work at all when using the nextcloud client?
Thanks for any hints. I really want to make redirection work, otherwise I’ll have to change the URL on hundreds of clients.
in macos, ios and ipados the nextcloud app insists on using example certificate instead of nextcloud.example
All browsers work as expected with the redirect.
Interestingly when setting up a new device with example.com it will correctly configure itself to user nextcloud.example.com and doesn’t have the same certificate issue.
It is recommended to not use server.tld/cloud but cloud.server.tld (subdomain for Nextcloud). You can read this installation guide (sorry Ubuntu 20.04 LTS). Maybe you can use the ninx-part there at Step 6 - Configure Nginx Virtual Host for Nextcloud.