I am using all latest stable software on Ubuntu server 18.04 and Nextcloud snap.
The issue I am facing:
Today I was informed that nextcloud had issued a new self-signed certificate. I did not do it, so I am wondering if the snap renews automatically. I did not check the lifetime of the original certificate that I created. This new one now is for 3 months though. I am concerned that maybe someone has broken in.
Is this the first time you’ve seen this error? (Y/N): Y
I created a local self signed certificate within the snap. My instance is local only. Is there a way to check previous certs I have created? I did not check expiration date when creating the cert.
You can set the -days parameter to whatever you like.
I just want to point out though, this is kind of a step backward if you already have Let’s Encrypt up and running. And if that’s the case, you are no longer using a self-signed cert even if you started with one. Certbot will replace it with the one it generates about every two months.
I also use the nextcloud-snap installation (and it works really great!) only internally (not connected to the internet).
As a solution for the frequent certificate renewal (and the necessary confirmations on ALL devices), I created a certificate that lasts for 10 years. I described what I did, a few minutes ago, here: