AIO: Force SSL certificate renewal

Greetings,

as I want to set up my Nextcloud on a new server from scratch (because the old one is bug-ridden), import the files and recreate database-only information manually, I need to access the old and new NC simultaneously to manually copy information. I read that NC is not meant to have the URL changed but this is a temporary necessity.

As the new NC shall use the same URL as the old one I changed the old NC’s URL from cloud.example.tld to cloud-old.example.tld in the A record as well as in the config.php of the Nextcloud container.

I read something about having to make changes to some nextcloud.conf and some other things in the apache server but apparently the file structure of the apache container of the AIO is different from the standard apache so I did not find any of those files except a nextcloud.conf (in a totally different place as described) in which there was no trace of that URL. If I need to make changes to anything in the apache container I really need to know exactly what and where please. Same if I need to change something in the mastercontainer.

I restarted all containers but the SSL certificate now is outdated and I can not find any information about how to get it updated. It set the certificate up by itself when I installed the Nextcloud; I do not use any custom certificate or so. As there is no browser, as far as I know, that even allows for fully willfully accessing websites over http or with broken certificates, I must have an updated certificate.

So, does the AIO notice the outdated certificate and does it update it by itself or is there a way to enforce certificate renewal? I do not want to set up a custom certificate if avoidable, these things go way beyond my knowledge

The Basics

  • Nextcloud Server version:
    • 30.0.9
  • Operating system and version:
    • Windows 10 Professional - latest version
  • Web server and version:
    • Whatever is included in the latest AIO
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • None
  • PHP version:
    • 8.3.19
  • Installation method:
    • AIO v10.12.0
  • Are you using CloudfIare, mod_security, or similar?
    • No

Hi, see GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.