I have problems to connect to my nextcloud instance from outside reporting an SEC_ERROR_EXPIRED_CERTIFICATE . So it looks like the certificate used by the web server is expired.
But according to my forum post on letsencrypt I have a valid certificate but it seems that the web server is not using it.
https://community.letsencrypt.org/t/problems-to-renew-certificates/116031
Also no certificate seems to be used at all:
pi@nextcloudpi:~ $ sudo -u www-data php /var/www/nextcloud/occ security:certificates
+-----------+-------------+--------------+-------------+-----------+
| File Name | Common Name | Organization | Valid Until | Issued By |
+-----------+-------------+--------------+-------------+-----------+
pi@nextcloudpi:~ $
Nextcloud version: 18.0.1.3
Operating system and version: Raspbian (NextCloudPi v1.21.0)
Apache or nginx version: Apache/2.4.38 (Raspbian)
PHP version: 7.3
The question is how can other certificate be imported? For this I found:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#security
What is meant by /path/to/certificate ?