Nextcloud version: 22.1.1
Operating system and version: Xubuntu 20.04.2.0 LTS
Apache or nginx version: Apache (fpm-fcgi)
PHP version: 7.4.23
The issue you are facing:
Since the Letās Encrypt certificate expired none of the clients have worked, nor can I access the service in a web browser because they come back with a security error.
I have tried Windows and Linux PCs and browsers including Firefox, Waterfox, Edge and Chrome. All browsers give some form of error about the certificate having expired and will not go any further because HSTS is set, not allowing an exception to be made either. The NextCloud client can be told to trust the certificate, but I donāt want to have to contact every user to tell them to accept an expired certificate; it is not good practice. I want to fix it at the server end.
I tried to remove DST_Root_CA_X3.pem but cannot just delete it as I have installed the NextCloud server using snap. I tried using unsquashfs, remove squashfs-root/etc/ssl/certs/DST_Root_CA_X3.pem, then mksquashfs again to rebuild the core18 snap file that holds it, but then the core18 snap file is considered ābrokenā and wonāt work.
Iāve applied all operating system and snap updates.
Any suggestions?
Is this the first time youāve seen this error? (Y/N): Y
$ snap list
Name Version Rev Tracking Publisher Notes
core18 20210722 2128 latest/stable canonicalā base
nextcloud 22.1.1snap2 28549 latest/stable nextcloudā -