Point Apache to right cert in NCP


I accidentally created a self signed cert, realized my mistake and got a Let’s encrypt one.


default-ssl.conf (in /etc/apache2/sites-available) points to the correct cert:

SSLCertificateFile /etc/letsencrypt/live/domain/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/domain/privkey.pem


001-nextcloud.conf in the same directory to the old, wrong one:

SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

Now I can’t edit 001-nextcloud.conf, can I? So where do I do it?

In a desperate attempt I chucked the self signed snakeoil one, so now Apache won’t run.

I run NCP v.1.54.2 which I put straight on an SSD for my Raspberry Pi 5b.

Humbly, Ylan

I started from the beginning and let NCP contact Let’s Encrypt for me. Now it works.

Humbly, Ylan