Nextcloud certificate
Hi,
I'm far from IT illiterate but this situation is now definitely beyond me. Back in Jan/Feb I installed Nextcloud via the Marketplace but without thinking I clicked through the wizard which meant that I was given a Let's Encrypt certificate rather than using my own for the site.
Fast forward to now and the Let's Encrypt certificate has expired and I can no longer get to the Nextcloud instance. I no longer wish to use the Let's Encrypt cert, especially as it expires every 3 months, but I can't find anywhere that shows how I can upload and use my own.
Any help would be greatly appreciated.
Thanks!
3 Replies
If you would prefer to manage your own SSL certificates, you should first remove the expire one created by CertBot:
sudo certbot revoke --cert-path /etc/letsencrypt/live/$DOMAIN_NAME/fullchain.pem
Where the variable $DOMAIN_NAME is what you entered during deployment and how you had been accessing the NextCloud GUI prior to the cert's expiration. You may also want to proactively delete CertBot to free up space and to prevent it from attempting to run again in the future:
sudo apt remove certbot
Since it sounds like you intend to only use NextCloud for personal use, openssl would be perfectly suitable for creating a self-signed certificate. For more information about how to manually create and manage that new cert, check out the following Docs Guide:
The letsencrypt certs should automatically renew. This person's certs didn't renew because they were proxying behind a CloudFlare tunnel so I would suggest removing any kind of obstruction like that if you're using one.
In order to provide your own certs for the AIO deployment, you'll need to configure a reverse proxy using one of the options suggested in the AIO documentation. You mentioned you're not IT illiterate and that's good because this process is somewhat complicated.
I also suggest creating your own post on the Nextcloud AIO Discussion Page or the Nextcloud Forum to see if anyone from that has simple suggestions that may be useful.
The link you shared helped me, thank you for sharing. You helped me so much. Now, it is my turn to help you out and I would like to share my personal experience with you. Whenever I get stuck in my essay assignments, I always get help from this https://academized.com/phd-thesis-writers website because over there I can easily find PHD thesis writers and they have years of experience. I have also read their reviews, and all of them are good compared to other writers.